lib/sinclair/chain_settable.rb in sinclair-2.1.0 vs lib/sinclair/chain_settable.rb in sinclair-2.1.1
- old
+ new
@@ -10,10 +10,10 @@
# the next is checked
module ChainSettable
include Sinclair::Settable
extend Sinclair::Settable::ClassMethods
- read_with do |key, sources: nil, sources_map: {}|
+ read_with do |key, sources: nil|
sources.map_and_find do |source|
sources_map[source].public_send(key)
end
end