Class: XPCOMCore::CommandParser::GenerateCommand::LibraryCommand

Inherits:
JewelerBuilderCommand
  • Object
show all
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

TemplateHelpers::TemplateDir

Instance Method Summary collapse

Methods inherited from JewelerBuilderCommand

#execute

Methods included from TemplateHelpers

#copy_file, #copy_template, #copy_template_directory, #determine_template_vars, #eval_template, #handle_entry_creation, #handle_file, #mkpath

Constructor Details

#initializeLibraryCommand

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.options = CmdParse::OptionParserWrapper.new { |opt_parse| add_jeweler_opts(opt_parse) }
end