Method: FactoryLoader#initialize
- Defined in:
- lib/factory_loader.rb
#initialize(*factory_paths) ⇒ FactoryLoader
Constructs a FactoryLoader. The passed in factory_paths are searched recursively.
81 82 83 |
# File 'lib/factory_loader.rb', line 81 def initialize(*factory_paths) @factory_paths = factory_paths.map{ |f| File.(f) } end |