Class: Backpack
Instance Method Summary collapse
-
#initialize(o, n) ⇒ Backpack
constructor
A new instance of Backpack.
- #run ⇒ Object
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
#run ⇒ Object
15 16 17 18 19 |
# File 'lib/backpack.rb', line 15 def run( ) makeGeneralStructure( ) makeGenerators( ) makeHelpersLib( ) end |