motion/ui/ui_control_wrapper.rb in bubble-wrap-1.6.0 vs motion/ui/ui_control_wrapper.rb in bubble-wrap-1.7.0
- old
+ new
@@ -1,7 +1,7 @@
module BubbleWrap
module UIControlWrapper
- def when(events, options={}, &block)
+ def when(events, options = {}, &block)
@callback ||= {}
@callback[events] ||= []
unless options[:append]
@callback[events] = []