lib/strategies/proc.rb in motion_bindable-0.2.2 vs lib/strategies/proc.rb in motion_bindable-0.2.3

- old
+ new

@@ -4,9 +4,13 @@ def refresh_bound bound.call end + def refresh_object + attribute + end + def on_bound_change(new = nil) self.attribute = new || bound.call end end