Module: URI
- Defined in:
- lib/epitools/core_ext/misc.rb
Instance Method Summary collapse
-
#params ⇒ Object
Return a Hash of the variables in the query string.
-
#to_str ⇒ Object
URIs are strings, dammit!.
Instance Method Details
#params ⇒ Object
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_str ⇒ Object
URIs are strings, dammit!
206 207 208 |
# File 'lib/epitools/core_ext/misc.rb', line 206 def to_str to_s end |