Sha256: e498cfa3c34d00717bae43d5ea4aad134fe32652154c7ec2542682189300e35b

Contents?: true

Size: 100 Bytes

Versions: 23

Compression:

Stored size: 100 Bytes

Contents

MyDashboard.scheduler.every '1s' do
  MyDashboard.send_event('widget_id', { value: rand(100) })
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
my_dashboard-0.8.6 lib/generators/templates/jobs/new.rb
my_dashboard-0.8.5 lib/generators/templates/jobs/new.rb
my_dashboard-0.8.4 lib/generators/templates/jobs/new.rb
my_dashboard-0.8.3 lib/generators/templates/jobs/new.rb
my_dashboard-0.8.1 lib/generators/templates/jobs/new.rb
my_dashboard-0.8.0 lib/generators/templates/jobs/new.rb
my_dashboard-0.7.2 lib/generators/templates/jobs/new.rb
my_dashboard-0.7.1 lib/generators/templates/jobs/new.rb
my_dashboard-0.7.0 lib/generators/templates/jobs/new.rb
my_dashboard-0.6.0 lib/generators/templates/jobs/new.rb
my_dashboard-0.5.10 lib/generators/templates/jobs/new.rb
my_dashboard-0.5.9 lib/generators/templates/jobs/new.rb
my_dashboard-0.5.8 lib/generators/templates/jobs/new.rb
my_dashboard-0.5.7 lib/generators/templates/jobs/new.rb
my_dashboard-0.5.6 lib/generators/templates/jobs/new.rb
my_dashboard-0.5.5 lib/generators/templates/jobs/new.rb
my_dashboard-0.5.4 lib/generators/templates/jobs/new.rb
my_dashboard-0.5.3 lib/generators/templates/jobs/new.rb
my_dashboard-0.5.2 lib/generators/templates/jobs/new.rb
my_dashboard-0.5.1 lib/generators/templates/jobs/new.rb