consistent?(other)
click to toggle source
def consistent?(other)
case other
when Symbol
@sym == other.sym
else
@base_type.consistent?(other)
end
end
inspect()
click to toggle source
def inspect
"Type::Symbol[#{ @sym ? @sym.inspect : "(dynamic symbol)" }, #{ @base_type.inspect }]"
end
method_dispatch_info()
click to toggle source
def method_dispatch_info
@base_type.method_dispatch_info
end
screen_name(scratch)
click to toggle source
def screen_name(scratch)
if @sym
@sym.inspect
else
@base_type.screen_name(scratch)
end
end
substitute(_subst, _depth)
click to toggle source
def substitute(_subst, _depth)
self
end