Module: Ardm::Ext::Module
- Defined in:
- lib/ardm/support/ext/module.rb
Class Method Summary collapse
Class Method Details
.find_const(mod, const_name) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/ardm/support/ext/module.rb', line 5 def self.find_const(mod, const_name) if const_name[0..1] == '::' Ardm::Ext::Object.full_const_get(const_name[2..-1]) else nested_const_lookup(mod, const_name) end end |