Class: Module
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#find_const(const_name) ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/extlib/module.rb', line 2 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
10 11 12 |
# File 'lib/extlib/module.rb', line 10 def try_dup self end |