Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##
- # Sets the query component for this URI.
- #
- # @param [String, #to_str] new_query The new query component.
- def query=(new_query)
- @query = new_query ? new_query.to_str : nil
- # Reset dependant values
- @normalized_query = nil
- end
Add Comment
Please, Sign In to add comment