class Ruspea::Runtime::Env::Empty

Public Class Methods

new(*_) click to toggle source
# File lib/ruspea/runtime/env.rb, line 9
def initialize(*_)
end

Public Instance Methods

==(other) click to toggle source
# File lib/ruspea/runtime/env.rb, line 28
def ==(other)
  return true if other.is_a? Empty
  false
end
around(env) click to toggle source
# File lib/ruspea/runtime/env.rb, line 24
def around(env)
  env
end
define(*_) click to toggle source
# File lib/ruspea/runtime/env.rb, line 12
def define(*_)
  nil
end
eql?(other) click to toggle source
# File lib/ruspea/runtime/env.rb, line 20
def eql?(other)
  self == other
end
lookup(sym) click to toggle source
# File lib/ruspea/runtime/env.rb, line 16
def lookup(sym)
  raise(Resolution.new(sym))
end