Class: Lono::Finder::Blueprint::Configset
Instance Method Summary
collapse
Methods inherited from Configset
#detection_path, #type
#components, #detect?, find, #find, #find_all, #gems, #list, list, #materialized, #project, #vendor
Constructor Details
#initialize(options = {}) ⇒ Configset
3
4
5
6
|
# File 'lib/lono/finder/blueprint/configset.rb', line 3
def initialize(options={})
super(**options)
@blueprint_root = options[: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
|