class Boxxspring::Synchronization::Variable
Public Class Methods
new( name )
click to toggle source
# File lib/boxxspring/synchronization/variable.rb, line 6 def initialize( name ) @orchestrator = Synchronization::Orchestrator.instance @name = name end
Public Instance Methods
read( options={} )
click to toggle source
# File lib/boxxspring/synchronization/variable.rb, line 11 def read( options={} ) @orchestrator.read( @name, options ) end
write( value, options={} )
click to toggle source
# File lib/boxxspring/synchronization/variable.rb, line 15 def write( value, options={} ) @orchestrator.write( @name, value, options ) end
write_if_condition( value, condition )
click to toggle source
# File lib/boxxspring/synchronization/variable.rb, line 19 def write_if_condition( value, condition ) @orchestrator.write_if_condition( @name, value, condition ) end