lib/arbre/rails/forms.rb in arbre-1.4.0 vs lib/arbre/rails/forms.rb in arbre-1.5.0

- old
+ new

@@ -1,5 +1,6 @@ +# frozen_string_literal: true module Arbre module Rails module Forms class FormBuilderProxy < Arbre::Component @@ -28,10 +29,10 @@ def proxy_call_to_form(method, *args, &block) text_node form_builder.send(method, *args, &block) end - def method_missing(method, *args, &block) + ruby2_keywords def method_missing(method, *args, &block) if form_builder && form_builder.respond_to?(method) proxy_call_to_form(method, *args, &block) else super end