Class: Rabal::Plugin::Rubyforge
- Inherits:
-
Object
- Object
- Rabal::Plugin::Rubyforge
- Defined in:
- lib/rabal/plugin/rubyforge.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Rubyforge
constructor
A new instance of Rubyforge.
Constructor Details
#initialize(options) ⇒ Rubyforge
Returns a new instance of Rubyforge.
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/rabal/plugin/rubyforge.rb', line 8 def initialize() begin require 'rubyforge' rescue LoadError Log::fatal("Unable to use the rubyforge plugin, the rubyforge library is required.") exit 1 end @parameters = OpenStruct.new() validate_parameters @tree = PluginTree.new(@parameters.marshal_dump, resource_by_name(my_main_tree_name)) end |