Sha256: 2ae8e436b73227c61335262018a1eca835e5706a7ac32067e8580094de0fb0dd

Contents?: true

Size: 158 Bytes

Versions: 27

Compression:

Stored size: 158 Bytes

Contents

require 'artoo'

connection :loop
device :counter, :driver => :counter

work do
  puts 'Starting...'
  on counter, :update => proc {puts 'I am awesome!'}
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
artoo-1.1.0.pre examples/notifications.rb
artoo-1.0.0 examples/notifications.rb
artoo-1.0.0.rc4 examples/notifications.rb
artoo-1.0.0.rc3 examples/notifications.rb
artoo-1.0.0.rc2 examples/notifications.rb
artoo-1.0.0.rc1 examples/notifications.rb
artoo-1.0.0.pre examples/notifications.rb