Guest User

Untitled

a guest
Feb 21st, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. ##
  2. # Sets the query component for this URI.
  3. #
  4. # @param [String, #to_str] new_query The new query component.
  5. def query=(new_query)
  6. @query = new_query ? new_query.to_str : nil
  7.  
  8. # Reset dependant values
  9. @normalized_query = nil
  10. end
Add Comment
Please, Sign In to add comment