lib/hanami/model/plugins/mapping.rb in hanami-model-1.0.3 vs lib/hanami/model/plugins/mapping.rb in hanami-model-1.0.4

- old
+ new

@@ -21,10 +21,10 @@ # Processes the output # # @since 0.7.0 # @api private def [](value) - @mapping.process(@input[value]) + @input[@mapping.process(value)] end end # Class interface #