Class: Support::QueryString
- Inherits:
-
String
- Object
- String
- Support::QueryString
- Defined in:
- lib/support/query_string.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *arguments, &block) ⇒ Object
3 4 5 6 |
# File 'lib/support/query_string.rb', line 3 def method_missing(name, *arguments, &block) return super unless name.to_s =~ /^(?<name>.+)\?$/ self == Regexp.last_match(:name) end |