class Pakyow::Plugin::HelperCaller

@api private

Public Class Methods

new(connection:, helpers:, plugin:) click to toggle source
# File lib/pakyow/plugin/helper_caller.rb, line 7
def initialize(connection:, helpers:, plugin:)
  @connection, @helpers, @plugin = connection, helpers, plugin
end

Public Instance Methods

method_missing(method_name, *args, &block) click to toggle source
# File lib/pakyow/plugin/helper_caller.rb, line 11
def method_missing(method_name, *args, &block)
  @helpers.public_send(method_name, *args, &block)
end
respond_to_missing?(method_name, include_private = false) click to toggle source
Calls superclass method
# File lib/pakyow/plugin/helper_caller.rb, line 15
def respond_to_missing?(method_name, include_private = false)
  @helpers.respond_to?(method_name) || super
end