Sha256: dd4b7f303182591195e408f6899b5dc64f3293e6fb7ae2052a1eaec4a350537d
Contents?: true
Size: 399 Bytes
Versions: 6
Compression:
Stored size: 399 Bytes
Contents
module SignatureGenerator class Context def initialize(hash={}) @internal_hash = hash end def []=(key,val) internal_hash[key] = val end def method_missing(*args) method_name = args.shift return internal_hash[method_name] if internal_hash[method_name] super(method_name, *args) end private attr_reader :internal_hash end end
Version data entries
6 entries across 6 versions & 1 rubygems