Class: Mona::Project::Initializer
- Inherits:
-
Object
- Object
- Mona::Project::Initializer
- Includes:
- Deps[ "package.indexer", "project.builder", "project.find_root" ], Mixins
- Defined in:
- lib/mona/project/initializer.rb
Constant Summary collapse
Instance Method Summary collapse
Methods included from Mixins
Instance Method Details
#call(dir) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/mona/project/initializer.rb', line 15 def call(dir) project_root = find_root.call(dir) project = builder.call(project_root) project_packages = indexer.call(project.packages_lookup_subdir, project.root_path, project.package_dirname) project.set_packages(project_packages) project end |