Module: Loader::AutoLoad

Defined in:
lib/loader/autoload.rb

Defined Under Namespace

Modules: Support

Instance Method Summary collapse

Instance Method Details

#const_missing(name) ⇒ Object



56
57
58
59
60
61
62
63
64
65
66
67
# File 'lib/loader/autoload.rb', line 56

def const_missing(name)

  Support.try_load_by(self,name)
  constant = Support.try_fetch_constant(self, name)

  if constant
    return constant
  else
    super
  end

end