Class: Rabal::Plugin::Test

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

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Test

Returns a new instance of Test.



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

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