lib/strategies/proc.rb in motion_bindable-0.2.4 vs lib/strategies/proc.rb in motion_bindable-0.2.5
- old
+ new
@@ -12,8 +12,13 @@
def on_bound_change(new = nil)
self.attribute = new || bound.call
end
+ def unbind
+ @watching = false
+ super
+ end
+
end
end