Sha256: 3d783b6503ba3dabf8ed420488287c785097e01d68cd899a0e5c415edf5e9985

Contents?: true

Size: 206 Bytes

Versions: 36

Compression:

Stored size: 206 Bytes

Contents

require 'artoo/robot'

class HelloRobot < Artoo::Robot
	connection :loop
  
	work do
	  every(3.seconds) do
	     puts "hello"
	  end
	  after(10.seconds) do
	  	puts "wow"
	  end
	end
end

HelloRobot.work!

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
artoo-1.8.2 examples/hello_modular.rb
artoo-1.8.1 examples/hello_modular.rb
artoo-1.8.0 examples/hello_modular.rb
artoo-1.6.7 examples/hello_modular.rb
artoo-1.6.6 examples/hello_modular.rb
artoo-1.6.5 examples/hello_modular.rb
artoo-1.6.4 examples/hello_modular.rb
artoo-1.6.3 examples/hello_modular.rb
artoo-1.6.2 examples/hello_modular.rb
artoo-1.6.1 examples/hello_modular.rb
artoo-1.6.0 examples/hello_modular.rb
artoo-1.5.0 examples/hello_modular.rb
artoo-1.4.1 examples/hello_modular.rb
artoo-1.4.0 examples/hello_modular.rb
artoo-1.3.0 examples/hello_modular.rb
artoo-1.2.2 examples/hello_modular.rb
artoo-1.2.1 examples/hello_modular.rb
artoo-1.2.0 examples/hello_modular.rb
artoo-1.1.1 examples/hello_modular.rb
artoo-1.1.0 examples/hello_modular.rb