Sha256: 084e9193b0b17ef4fdbfe886425f6879d8af38bffe50fd5672dfd9d4f0d7ca93
Contents?: true
Size: 469 Bytes
Versions: 8
Compression:
Stored size: 469 Bytes
Contents
class KuberKit::Core::ContextHelper::LocalContextHelper < KuberKit::Core::ContextHelper::AbstractHelper def initialize(parent_context_helper:, variables:) @parent_context_helper = parent_context_helper @variables = variables end def method_missing(method_name, *args, **kwargs, &block) if @variables.has_key?(method_name) @variables[method_name] else @parent_context_helper.send(method_name, *args, **kwargs, &block) end end end
Version data entries
8 entries across 8 versions & 1 rubygems