Class: Getch::Command
- Inherits:
-
Object
- Object
- Getch::Command
- Defined in:
- lib/getch/command.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#res ⇒ Object
readonly
Returns the value of attribute res.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Command
constructor
A new instance of Command.
- #to_s ⇒ Object
Constructor Details
Instance Attribute Details
#res ⇒ Object (readonly)
Returns the value of attribute res.
8 9 10 |
# File 'lib/getch/command.rb', line 8 def res @res end |
Instance Method Details
#to_s ⇒ Object
16 17 18 |
# File 'lib/getch/command.rb', line 16 def to_s @res end |