lib/glimmer/data_binding/observable_array.rb in glimmer-2.2.0 vs lib/glimmer/data_binding/observable_array.rb in glimmer-2.2.1
- old
+ new
@@ -97,10 +97,10 @@
def element_properties_for(observer)
observer_element_properties[observer] ||= Concurrent::Set.new
end
def notify_observers
- property_observer_list.to_a.each(&:call)
+ property_observer_list.to_a.each { |o| o.call(self) }
end
def <<(element)
super(element).tap do
add_element_observers(element)