Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/elfcat/util.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(_method) ⇒ Object
16 17 18 |
# File 'lib/elfcat/util.rb', line 16 def method_missing _method return self[_method].is_a?(Hash) ? self[_method][:data] : self[_method] end |