Class: Object

Inherits:
BasicObject
Defined in:
lib/ext/object.rb

Class Method Summary collapse

Class Method Details

.const_get19(str) ⇒ Object



2
3
4
5
6
# File 'lib/ext/object.rb', line 2

def self.const_get19(str)
  str.split('::').inject(Object) do |mod, class_name|
    mod.const_get(class_name)
  end
end