Class: Lono::Extensions::Preparer
Instance Method Summary
collapse
#reinitialize, #template_path
#find_blueprint_root, #set_blueprint_root
Constructor Details
#initialize(options = {}) ⇒ Preparer
Returns a new instance of Preparer.
3
4
5
6
|
# File 'lib/lono/extensions/preparer.rb', line 3
def initialize(options={})
super
@register = Register.new(options)
end
|
Instance Method Details
#download ⇒ Object
14
15
16
17
18
19
|
# File 'lib/lono/extensions/preparer.rb', line 14
def download
Lono::Jade::Registry.tracked_extensions.each do |registry|
jade = Lono::Jade.new(registry.name, "extension", registry)
jade.materialize end
end
|
#final_materialize ⇒ Object
#run ⇒ Object
8
9
10
11
12
|
# File 'lib/lono/extensions/preparer.rb', line 8
def run
@register.run
download
final_materialize
end
|