lib/dry/view/exposures.rb in dry-view-0.7.1 vs lib/dry/view/exposures.rb in dry-view-0.8.0
- old
+ new
@@ -44,10 +44,9 @@
self.class.new(bound_exposures)
end
def call(input)
- # rubocop:disable Style/MultilineBlockChain
tsort.each_with_object({}) { |name, memo|
next unless (exposure = self[name])
value = exposure.(input, memo)
value = yield(value, exposure) if block_given?