Sha256: a5970f95e7b4af585984bb971469ebbd59e13d2e9939afbcf2e290b4dc857b92
Contents?: true
Size: 503 Bytes
Versions: 12
Compression:
Stored size: 503 Bytes
Contents
# frozen_string_literal: true module Pakyow class Plugin # @api private class HelperCaller def initialize(connection:, helpers:, plugin:) @connection, @helpers, @plugin = connection, helpers, plugin end def method_missing(method_name, *args, &block) @helpers.public_send(method_name, *args, &block) end def respond_to_missing?(method_name, include_private = false) @helpers.respond_to?(method_name) || super end end end end
Version data entries
12 entries across 12 versions & 1 rubygems