Class: Module
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#find_const(const_name) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/extlib/module.rb', line 6 def find_const(const_name) if const_name[0..1] == '::' Object.full_const_get(const_name[2..-1]) else nested_const_lookup(const_name) end end |
#try_dup ⇒ Object
14 15 16 |
# File 'lib/extlib/module.rb', line 14 def try_dup self end |