# File lib/puppet-lint/monkeypatches/string_percent.rb, line 15
    def % *a, &b
      a.flatten!

      string = case a.last
      when Hash
        expand a.pop
      else
        self
      end

      if a.empty?
        string
      else
        Percent.bind(string).call(a, &b)
      end

    end