Class: PVN::Seek::MatchOption
- Inherits:
-
Synoption::BooleanOption
- Object
- Synoption::BooleanOption
- PVN::Seek::MatchOption
- Defined in:
- lib/pvn/seek/options.rb
Instance Method Summary collapse
-
#initialize(optargs = Hash.new) ⇒ MatchOption
constructor
A new instance of MatchOption.
Constructor Details
#initialize(optargs = Hash.new) ⇒ MatchOption
Returns a new instance of MatchOption.
10 11 12 13 14 |
# File 'lib/pvn/seek/options.rb', line 10 def initialize optargs = Hash.new opts = Hash.new opts[:negate] = '--nomatch', '--no-match', '-M' super :match, '-m', 'find where the pattern matched', true, opts end |