lib/hanami/model/plugins/mapping.rb in hanami-model-1.0.4 vs lib/hanami/model/plugins/mapping.rb in hanami-model-1.1.0.beta1
- old
+ new
@@ -21,10 +21,10 @@
# Processes the output
#
# @since 0.7.0
# @api private
def [](value)
- @input[@mapping.process(value)]
+ @mapping.process(@input[value])
end
end
# Class interface
#