Class: Command::RevList
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Command::Base
Instance Method Details
#define_options ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/command/rev_list.rb', line 7 def @parser.on("--all") { @options[:all] = true } @parser.on("--branches") { @options[:branches] = true } @parser.on("--remotes") { @options[:remotes] = true } @parser.on("--ignore-missing") { @options[:missing] = true } @parser.on("--objects") { @options[:objects] = true } @parser.on("--reverse") { @options[:reverse] = true } @options[:walk] = true @parser.on("--do-walk") { @options[:walk] = true } @parser.on("--no-walk") { @options[:walk] = false } end |