Module: StringExtensions

Defined in:
lib/tattle/string_extensions.rb

Instance Method Summary collapse

Instance Method Details

#to_paramsObject



2
3
4
5
6
# File 'lib/tattle/string_extensions.rb', line 2

def to_params
  self.map do |key, value|
    "report[#{key}]=#{value}"
  end.join("&")
end