Class: PVN::Diff::ChangeOption
- Inherits:
-
BaseRevisionOption
- Object
- Synoption::Option
- BaseRevisionOption
- PVN::Diff::ChangeOption
- Defined in:
- lib/pvn/diff/options.rb
Overview
a change option is like a revision option, just against the previous revision
Constant Summary
Constants inherited from BaseRevisionOption
BaseRevisionOption::REVISION_DESCRIPTION
Instance Method Summary collapse
-
#initialize(optargs = Hash.new) ⇒ ChangeOption
constructor
A new instance of ChangeOption.
Methods inherited from BaseRevisionOption
#entry, #head?, #relative_to_absolute, #resolve_value, #run_log_command
Constructor Details
#initialize(optargs = Hash.new) ⇒ ChangeOption
Returns a new instance of ChangeOption.
19 20 21 |
# File 'lib/pvn/diff/options.rb', line 19 def initialize optargs = Hash.new super :change, '-c', 'use the given revision against the previous one', nil end |