Method: Extensions::Object.const_get

Defined in:
lib/baltix/extensions.rb

.const_get(c, inherit = true) ⇒ Object



3
4
5
6
7
8
9
10
11
12
# File 'lib/baltix/extensions.rb', line 3

def self.const_get c, inherit = true
   super
rescue Exception => e
   begin
     require c.to_s.downcase
   rescue Exception => e
   end

   super
end