Method: Kernel#import_map
- Defined in:
- lib/modulation/ext.rb
#import_map(path, options = {}, caller_location = caller(CALLER_RANGE).first) ⇒ Hash
Imports all modules in given directory, returning a hash mapping filenames to modules
28 29 30 31 |
# File 'lib/modulation/ext.rb', line 28 def import_map(path, = {}, caller_location = caller(CALLER_RANGE).first) Modulation.import_map(path, , caller_location) end |