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?, 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
39 40 41 42 |
# File 'lib/pvn/pct/command.rb', line 39 def init cls = .revision && !.revision.empty? ? RepositoryDiffer : LocalDiffer cls.new end |