Class: Rabal::Plugin::Spec

Inherits:
Object
  • Object
show all
Defined in:
lib/rabal/plugin/spec.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Spec

Returns a new instance of Spec.



7
8
9
10
11
# File 'lib/rabal/plugin/spec.rb', line 7

def initialize(options)
    @parameters = OpenStruct.new(options)
    validate_parameters
    @tree = PluginTree.new({}, resource_by_name(my_main_tree_name))
end