Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/ruby-gpio.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
6 7 8 |
# File 'lib/ruby-gpio.rb', line 6 def method_missing(name, *args, &block) return self[name.to_sym] end |