Class: Balmora::Shell::Expression
- Inherits:
-
Object
- Object
- Balmora::Shell::Expression
- Defined in:
- lib/balmora/shell.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
Instance Method Summary collapse
-
#initialize(command) ⇒ Expression
constructor
A new instance of Expression.
Constructor Details
#initialize(command) ⇒ Expression
Returns a new instance of Expression.
20 21 22 |
# File 'lib/balmora/shell.rb', line 20 def initialize(command) @command = command end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
18 19 20 |
# File 'lib/balmora/shell.rb', line 18 def command @command end |