lib/glimmer/data_binding/observable_array.rb in glimmer-2.1.4 vs lib/glimmer/data_binding/observable_array.rb in glimmer-2.1.5
- old
+ new
@@ -81,10 +81,10 @@
def has_observer?(observer)
property_observer_list.include?(observer)
end
def has_observer_element_properties?(observer, element_properties)
- element_properties_for(observer).to_a.include_all?(element_properties)
+ element_properties_for(observer).to_a.include_all?(*element_properties)
end
def property_observer_list
@property_observer_list ||= Concurrent::Set.new
end