Class: Skeem::SkmDelayedUpdateBinding

Inherits:
SkmBinding show all
Defined in:
lib/skeem/skm_binding.rb

Overview

class

Instance Attribute Summary collapse

Attributes inherited from SkmBinding

#value, #variable

Attributes inherited from SkmElement

#position

Instance Method Summary collapse

Methods inherited from SkmBinding

#evaluate, #initialize

Methods inherited from SkmElement

#accept, #boolean?, #bound!, #callable?, #char?, #complex?, #done!, #eqv?, #evaluate, #initialize, #inspect, #integer?, #list?, #null?, #number?, #pair?, #procedure?, #quasiquote, #quoted!, #rational?, #real?, #skm_eq?, #skm_equal?, #string?, #symbol?, #unquoted!, #vector?, #verbatim?

Constructor Details

This class inherits a constructor from Skeem::SkmBinding

Instance Attribute Details

#new_valObject (readonly)

Returns the value of attribute new_val.



75
76
77
# File 'lib/skeem/skm_binding.rb', line 75

def new_val
  @new_val
end

Instance Method Details

#do_it!(aRuntime) ⇒ Object



77
78
79
# File 'lib/skeem/skm_binding.rb', line 77

def do_it!(aRuntime)
  aRuntime.update_binding(variable, new_val)
end