Module: Raw::Helpers::Utils

Defined in:
lib/raw/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/raw/helper.rb', line 27

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