Method: Truck::Autoloader#raise_name_error!
- Defined in:
- lib/truck/autoloader.rb
#raise_name_error!(const_name = dir_paths.last) ⇒ Object
40 41 42 43 44 |
# File 'lib/truck/autoloader.rb', line 40 def raise_name_error!(const_name = dir_paths.last) = "uninitialized constant #{const_name}" << " (in #{context.mod})" if context raise NameError, end |