$Id: objinst-ruby.code,v 1.4 2004/11/13 07:42:25 bfulgham Exp $ www.bagley.org/~doug/shootout/ with help from Aristarkh Zagorodnikov

Methods
A
N
V
Class Public methods
new(start_state)
# File benchmark/bm_so_object.rb, line 8
def initialize(start_state)
    @bool = start_state
end
Instance Public methods
activate()
# File benchmark/bm_so_object.rb, line 16
def activate
    @bool = !@bool
    self
end
value()
# File benchmark/bm_so_object.rb, line 12
def value
    @bool
end