class ExternalVariables

Public Instance Methods

loop() click to toggle source
# File lib/examples/external_variables.rb, line 17
def loop
        delay 1
        @foo = 2
  @foo = KOOL
end
setup() click to toggle source
# File lib/examples/external_variables.rb, line 23
def setup # special one time only method
  delay 100
  delay 100
  @foo = 10
  5.times { delay 200 }

end