Module: URI

Defined in:
lib/epitools/core_ext/misc.rb

Instance Method Summary collapse

Instance Method Details

#paramsObject

Return a Hash of the variables in the query string



199
200
201
# File 'lib/epitools/core_ext/misc.rb', line 199

def params
  query ? query.to_params : {}
end

#to_strObject

URIs are strings, dammit!



206
207
208
# File 'lib/epitools/core_ext/misc.rb', line 206

def to_str
  to_s
end