Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (26 sloc) 0.463 kB
module WLang
class Scope
class NullScope < Scope
def initialize
super(nil)
end
def fetch(key)
block_given? ? yield : throw(:fail)
end
def subjects
[]
end
def inspect
"NullScope"
end
alias :to_s :inspect
protected
def append(x)
x
end
def prepend(x)
x
end
end # class NullScope
end # class Scope
end # module WLang
Jump to Line
Something went wrong with that request. Please try again.