Class: Object

Inherits:
BasicObject
Defined in:
lib/hyperloop/autoloader_starter.rb

Class Method Summary collapse

Class Method Details

._autoloader_original_const_missingObject



5
# File 'lib/hyperloop/autoloader_starter.rb', line 5

alias _autoloader_original_const_missing const_missing

.const_missing(const_name) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/hyperloop/autoloader_starter.rb', line 7

def const_missing(const_name)
  # need to call original code because some things are set up there
  # original code may also be overloaded by reactrb, for example
  _autoloader_original_const_missing(const_name)
rescue StandardError => e
  Hyperloop::Autoloader.const_missing(const_name, self) || raise(e)
end