Created
June 30, 2015 21:07
-
-
Save mapledyne/6fb671c17c3f865309f3 to your computer and use it in GitHub Desktop.
Delete a Dashing widget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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