Skip to content

Instantly share code, notes, and snippets.

@mapledyne
Created June 30, 2015 21:07
Show Gist options
  • Save mapledyne/6fb671c17c3f865309f3 to your computer and use it in GitHub Desktop.
Save mapledyne/6fb671c17c3f865309f3 to your computer and use it in GitHub Desktop.
Delete a Dashing widget
require 'rubygems'
SCHEDULER.every '10s' do
widget = 'oba'
puts 'Deleting widget: ' + widget
Sinatra::Application.settings.history.delete(widget)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment