module Glipper
  module Helpers
    def helpers
      @helpers
    end
    alias_method :h, :helpers

    def method_missing(name, *args, &block)
      if h.respond_to?(name)
        h.public_send(name, *args, &block)
      else
        super
      end
    end
  end
end

module Glipper
  module Helpers
    def helpers
      @helpers
    end
    alias_method :h, :helpers

    def method_missing(name, *args, **options, &block)
      if h.respond_to?(name)
        h.public_send(name, *args, **options, &block)
      else
        super
      end
    end

    def respond_to_missing?(name, include_private = false)
      h.respond_to?(name) || super
    end
  end
end

Update arguments forwarding for ruby 3.0
Update arguments forwarding for ruby 3.0
