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.8.2 examples/notifications.rb
artoo-1.8.1 examples/notifications.rb
artoo-1.8.0 examples/notifications.rb
artoo-1.6.7 examples/notifications.rb
artoo-1.6.6 examples/notifications.rb
artoo-1.6.5 examples/notifications.rb
artoo-1.6.4 examples/notifications.rb
artoo-1.6.3 examples/notifications.rb
artoo-1.6.2 examples/notifications.rb
artoo-1.6.1 examples/notifications.rb
artoo-1.6.0 examples/notifications.rb
artoo-1.5.0 examples/notifications.rb
artoo-1.4.1 examples/notifications.rb
artoo-1.4.0 examples/notifications.rb
artoo-1.3.0 examples/notifications.rb
artoo-1.2.2 examples/notifications.rb
artoo-1.2.1 examples/notifications.rb
artoo-1.2.0 examples/notifications.rb
artoo-1.1.1 examples/notifications.rb
artoo-1.1.0 examples/notifications.rb