Class: Lono::Extensions::Preparer
- Inherits:
-
AbstractBase
- Object
- AbstractBase
- Lono::Extensions::Preparer
- Defined in:
- lib/lono/extensions/preparer.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Preparer
constructor
A new instance of Preparer.
- #materialize ⇒ Object
- #run ⇒ Object
Methods inherited from AbstractBase
Methods included from Blueprint::Root
#find_blueprint_root, #set_blueprint_root
Constructor Details
Instance Method Details
#materialize ⇒ Object
15 16 17 18 19 20 |
# File 'lib/lono/extensions/preparer.rb', line 15 def materialize Lono::Jade::Registry.tracked_extensions.each do |registry| jade = Lono::Jade.new(registry.name, "extension", registry) jade.materialize end end |
#run ⇒ Object
8 9 10 11 12 13 |
# File 'lib/lono/extensions/preparer.rb', line 8 def run @register.run materialize # loading happens in Lono::Extensions::Loader load_all_extension_helpers module # so it has the proper self.class include scope end |