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.
9 10 11 |
# File 'lib/getch/command.rb', line 9 def res @res end |
Instance Method Details
#to_s ⇒ Object
17 18 19 |
# File 'lib/getch/command.rb', line 17 def to_s @res end |