Class: Backpack

Inherits:
Object
  • Object
show all
Includes:
Bivouac::Template
Defined in:
lib/backpack.rb

Instance Method Summary collapse

Constructor Details

#initialize(o, n) ⇒ Backpack

Returns a new instance of Backpack.



8
9
10
11
12
13
# File 'lib/backpack.rb', line 8

def initialize( o, n )
  @plugin_options = o
  @plugin_name = n
  @plugin_path = n.underscore.gsub( /[^a-zA-Z0-9]/, "_" )
  @plugin_module_name = @plugin_path.classify
end

Instance Method Details

#runObject



15
16
17
18
19
# File 'lib/backpack.rb', line 15

def run( )
  makeGeneralStructure( )
  makeGenerators( )
  makeHelpersLib( )
end