Class: Rabal::Plugin::Core
- Inherits:
-
Object
- Object
- Rabal::Plugin::Core
- Defined in:
- lib/rabal/plugin/core.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Core
constructor
core is slightly different from the default and uses a ProjecTree instead of a PluginTree.
Constructor Details
#initialize(options) ⇒ Core
core is slightly different from the default and uses a ProjecTree instead of a PluginTree. It does attach a PluginTree below the project tree with the basic file structure
17 18 19 20 21 22 |
# File 'lib/rabal/plugin/core.rb', line 17 def initialize() @parameters = OpenStruct.new() validate_parameters @tree = ProjectTree.new([:project] || ["project"],@parameters) @tree << PluginTree.new({},resource_by_name(my_main_tree_name)) end |