austinbv/dino — pull request #9 by dovadi (2012-11-10 20:00:32+00:00)
Title: Pass a block instead of a Proc object. Only Button implemented as a matter of principle

I prefer this:

button.down do
puts "button down"
end

button.up do
puts "button up"
end

instead of:

button_down = Proc.new do
puts "button down"
end

button_up = Proc.new do
puts "button up"
end

button.down do
button_down
end

button.up do
button_up
end

Issue: backward compatibility