Module: Nitro::Helpers::Utils

Defined in:
lib/nitro/helper.rb

Class Method Summary collapse

Class Method Details

.const(mod) ⇒ Object

– gmosx: dont name constant to avoid loop. ++



27
28
29
30
31
# File 'lib/nitro/helper.rb', line 27

def self.const(mod)
  return constant(mod)
rescue NameError => ex
  return nil
end