Class: Lono::Finder::Blueprint::Configset
- Inherits:
-
Configset
- Object
- Lono::Finder::Base
- Configset
- Lono::Finder::Blueprint::Configset
- Defined in:
- lib/lono/finder/blueprint/configset.rb
Instance Method Summary collapse
- #blueprint_app ⇒ Object
-
#initialize(options = {}) ⇒ Configset
constructor
A new instance of Configset.
- #local ⇒ Object
Methods inherited from Configset
Methods inherited from Lono::Finder::Base
#components, #detect?, find, #find, #find_all, #gems, #list, list, #materialized, #project, #vendor
Constructor Details
#initialize(options = {}) ⇒ Configset
Returns a new instance of Configset.
3 4 5 6 |
# File 'lib/lono/finder/blueprint/configset.rb', line 3 def initialize(={}) super(**) # **options to remove: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call @blueprint_root = [:blueprint_root] || Lono.blueprint_root end |
Instance Method Details
#blueprint_app ⇒ Object
12 13 14 15 |
# File 'lib/lono/finder/blueprint/configset.rb', line 12 def blueprint_app roots = path_roots("#{@blueprint_root}/app/#{type.pluralize}") components(roots, "blueprint") end |
#local ⇒ Object
8 9 10 |
# File 'lib/lono/finder/blueprint/configset.rb', line 8 def local project + vendor + blueprint_app + gems end |