Class: Balmora::Context::Value
- Inherits:
-
Balmora::Context
- Object
- Balmora::Command
- Balmora::Context
- Balmora::Context::Value
- Defined in:
- lib/balmora/context/value.rb
Instance Method Summary collapse
Methods inherited from Balmora::Context
#_not, #execute, #init, #initialize, #option
Methods inherited from Balmora::Command
#_execute, #execute, #init, #initialize, #option
Constructor Details
This class inherits a constructor from Balmora::Context
Instance Method Details
#options ⇒ Object
3 4 5 |
# File 'lib/balmora/context/value.rb', line 3 def () return super().concat([:value]) end |
#run ⇒ Object
15 16 17 |
# File 'lib/balmora/context/value.rb', line 15 def run() return @variables.inject(@value) end |