lib/hanami/helpers/html_helper/html_builder.rb in hanami-helpers-1.2.0.rc1 vs lib/hanami/helpers/html_helper/html_builder.rb in hanami-helpers-1.2.0.rc2

- old
+ new

@@ -377,11 +377,11 @@ # Forward missing methods to the current context. # This allows to access views local variables from nested content blocks. # # @since 0.1.0 # @api private - def method_missing(m, *args, &blk) - @context.__send__(m, *args, &blk) + def method_missing(method_name, *args, &blk) + @context.__send__(method_name, *args, &blk) end end end end end