Method: URI::Generic#query
- Defined in:
- lib/uri/generic.rb
#query ⇒ Object
Returns the query component of the URI.
URI("http://foo/bar/baz?search=FooBar").query #=> "search=FooBar"
266 267 268 |
# File 'lib/uri/generic.rb', line 266 def query @query end |