Class: Smalruby::Hardware::NullHardware
- Inherits:
-
Object
- Object
- Smalruby::Hardware::NullHardware
- Defined in:
- lib/smalruby/hardware/null_hardware.rb
Overview
何もしないハードウェアを表現するクラス
Instance Method Summary collapse
-
#initialize(*_) ⇒ NullHardware
constructor
A new instance of NullHardware.
- #method_missing(name) ⇒ Object
Constructor Details
#initialize(*_) ⇒ NullHardware
Returns a new instance of NullHardware.
8 9 |
# File 'lib/smalruby/hardware/null_hardware.rb', line 8 def initialize(*_) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name) ⇒ Object
11 12 |
# File 'lib/smalruby/hardware/null_hardware.rb', line 11 def method_missing(name) end |