Class: PVN::Pct::Command
- Inherits:
-
Command::Command
- Object
- Command::Command
- PVN::Pct::Command
- Defined in:
- lib/pvn/pct/command.rb
Instance Method Summary collapse
Methods inherited from Command::Command
description, example, getdoc, #initialize, matches_subcommand?, options, optscls, optset, #show_help, subcommands, summary, #to_doc, usage
Constructor Details
This class inherits a constructor from PVN::Command::Command
Instance Method Details
#init(options) ⇒ Object
36 37 38 39 40 41 42 |
# File 'lib/pvn/pct/command.rb', line 36 def init if .revision && !.revision.empty? RepositoryDiffer.new else LocalDiffer.new end end |