Class: PVN::Seek::SeekRevisionOption
- Inherits:
-
MultipleRevisionsRegexpOption
- Object
- BaseOption
- Option
- BaseRevisionOption
- RevisionOption
- RevisionRegexpOption
- MultipleRevisionsRegexpOption
- PVN::Seek::SeekRevisionOption
- Defined in:
- lib/pvn/seek/options.rb
Constant Summary collapse
- REVISION_DESCRIPTION =
PVN::RevisionRegexpOption::REVISION_DESCRIPTION + [ 'Zero, one, or two revisions may be specified:', ' A single revision is the equivalent of -rN:HEAD.', ' Multiple revisions are the equivalent of -rM:N.' ]
Constants inherited from RevisionRegexpOption
Constants inherited from BaseOption
Instance Attribute Summary
Attributes inherited from RevisionOption
Attributes inherited from BaseOption
#default, #name, #negate, #regexp, #tag
Instance Method Summary collapse
Methods inherited from MultipleRevisionsRegexpOption
Methods inherited from RevisionRegexpOption
Methods inherited from RevisionOption
#initialize, #to_svn_revision_date, #value
Methods inherited from BaseRevisionOption
#entry, #head?, #relative_to_absolute, #run_log_command
Methods inherited from BaseOption
#exact_match?, #initialize, #negative_match?, #next_argument, #post_process, #process, #regexp_match?, #set_value, #takes_value?, #to_command_line, #to_doc, #to_s, #unset, #value
Constructor Details
This class inherits a constructor from PVN::RevisionRegexpOption
Instance Method Details
#description ⇒ Object
36 37 38 |
# File 'lib/pvn/seek/options.rb', line 36 def description REVISION_DESCRIPTION end |
#resolve_value(optset, unprocessed) ⇒ Object
32 33 34 |
# File 'lib/pvn/seek/options.rb', line 32 def resolve_value optset, unprocessed super optset, unprocessed[-1, 1] end |