Class: XPCOMCore::CommandParser::GenerateCommand::LibraryCommand
- Inherits:
-
JewelerBuilderCommand
- Object
- CmdParse::Command
- JewelerBuilderCommand
- XPCOMCore::CommandParser::GenerateCommand::LibraryCommand
- Defined in:
- lib/xpcomcore-rubygem/commands/generate/library.rb
Constant Summary
Constants inherited from JewelerBuilderCommand
JewelerBuilderCommand::ApplicableJewelerOpts, JewelerBuilderCommand::DefaultGemDependencies, JewelerBuilderCommand::DefaultJewelerOpts, JewelerBuilderCommand::JewelerSuccess, JewelerBuilderCommand::RakefileGemDepFormat, JewelerBuilderCommand::RakefileGemSpecLine
Constants included from TemplateHelpers
Instance Method Summary collapse
-
#initialize ⇒ LibraryCommand
constructor
A new instance of LibraryCommand.
Methods inherited from JewelerBuilderCommand
Methods included from TemplateHelpers
#copy_file, #copy_template, #copy_template_directory, #determine_template_vars, #eval_template, #handle_entry_creation, #handle_file, #mkpath
Constructor Details
#initialize ⇒ LibraryCommand
Returns a new instance of LibraryCommand.
9 10 11 12 13 |
# File 'lib/xpcomcore-rubygem/commands/generate/library.rb', line 9 def initialize super('library', false) # Doesn't take subcommands self.short_desc = "Generates a library" self. = CmdParse::OptionParserWrapper.new { |opt_parse| add_jeweler_opts(opt_parse) } end |