Class: PVN::Seek::SeekRevisionOption

Inherits:
MultipleRevisionsRegexpOption show all
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

RevisionRegexpOption::TAG_RE

Instance Attribute Summary

Attributes inherited from RevisionOption

#fromdate, #todate

Instance Method Summary collapse

Methods inherited from MultipleRevisionsRegexpOption

#set_value

Methods inherited from RevisionRegexpOption

#initialize

Methods inherited from RevisionOption

#initialize, #to_svn_revision_date, #value

Methods inherited from BaseRevisionOption

#entry, #head?, #relative_to_absolute, #run_log_command

Constructor Details

This class inherits a constructor from PVN::RevisionRegexpOption

Instance Method Details

#descriptionObject



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