Method: Mysh::Keeper#get_value
- Defined in:
- lib/mysh/shell_variables/shell_variable_keeper.rb
#get_value(loop_check = {}) ⇒ Object
Get the value of this variable.
15 16 17 18 19 20 21 22 |
# File 'lib/mysh/shell_variables/shell_variable_keeper.rb', line 15 def get_value(loop_check={}) my_id = self.object_id fail "Mysh variable looping error." if loop_check[my_id] loop_check[my_id] = self @value.preprocess ensure loop_check.delete(my_id) end |