Module: Truck::Autoloader::NullModule

Extended by:
NullModule
Included in:
NullModule
Defined in:
lib/truck/autoloader.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missingObject



109
110
111
112
113
# File 'lib/truck/autoloader.rb', line 109

def method_missing(*)
  Autoloader.current_autoloader.raise_name_error!
ensure
  Autoloader.set_current_autoloader to: nil
end