Class: Symbol

Inherits:
Object show all
Defined in:
lib/rbkb/extends.rb

Instance Method Summary collapse

Instance Method Details

#const_lookup(ns = Object) ⇒ Object

looks up this symbol as a constant defined in ‘ns’ (Object by default)



571
572
573
# File 'lib/rbkb/extends.rb', line 571

def const_lookup(ns=Object)
  self.to_s.const_lookup(ns)
end