Class: PVN::Log::VerboseOption
- Inherits:
-
BooleanOption
- Object
- BaseOption
- Option
- BooleanOption
- PVN::Log::VerboseOption
- Defined in:
- lib/pvn/log/options.rb
Constant Summary
Constants inherited from BaseOption
Instance Attribute Summary
Attributes inherited from BaseOption
#default, #description, #name, #negate, #regexp, #tag
Instance Method Summary collapse
-
#initialize(optargs = Hash.new) ⇒ VerboseOption
constructor
A new instance of VerboseOption.
Methods inherited from BooleanOption
#takes_value?, #to_command_line
Methods inherited from BaseOption
#exact_match?, #negative_match?, #next_argument, #post_process, #process, #regexp_match?, #resolve_value, #set_value, #takes_value?, #to_command_line, #to_doc, #to_s, #unset, #value
Constructor Details
#initialize(optargs = Hash.new) ⇒ VerboseOption
Returns a new instance of VerboseOption.
22 23 24 |
# File 'lib/pvn/log/options.rb', line 22 def initialize optargs = Hash.new super :verbose, '-v', [ "include the files in the change" ], false end |