Module: Hash::DynamicMatcher
- Included in:
- Hash
- Defined in:
- lib/jsable_hash/dynamic_matcher.rb
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object (private)
5 6 7 8 9 10 |
# File 'lib/jsable_hash/dynamic_matcher.rb', line 5 def method_missing(name, *args, &block) t_key = match(name) return send(finder, t_key) if t_key super end |