Sha256: 5130f9f09f2d917bfe0996c1036a0034d5c160e4a2be78776de151fd8a139f12
Contents?: true
Size: 334 Bytes
Versions: 2
Compression:
Stored size: 334 Bytes
Contents
module WLang class Scope class ProcScope < Scope def fetch(key, &blk) Scope.coerce(subject.call).fetch(key) do parent.fetch(key, &blk) end end def inspect subject.inspect end alias :to_s :inspect end # class ProcScope end # class Scope end # module WLang
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wlang-2.0.1 | lib/wlang/scope/proc_scope.rb |
wlang-2.0.0 | lib/wlang/scope/proc_scope.rb |