Class: Rabal::Plugin::Website

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

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Website

Returns a new instance of Website.



6
7
8
9
10
# File 'lib/rabal/plugin/website.rb', line 6

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