Class: PVN::Command::VerboseOption
- Inherits:
-
Synoption::BooleanOption
- Object
- Synoption::BooleanOption
- PVN::Command::VerboseOption
- Defined in:
- lib/pvn/command/options.rb
Instance Method Summary collapse
-
#initialize(optargs = Hash.new) ⇒ VerboseOption
constructor
A new instance of VerboseOption.
- #set_value(val) ⇒ Object
Constructor Details
#initialize(optargs = Hash.new) ⇒ VerboseOption
Returns a new instance of VerboseOption.
19 20 21 |
# File 'lib/pvn/command/options.rb', line 19 def initialize optargs = Hash.new super :verbose, '-v', [ "display verbose output" ], false end |
Instance Method Details
#set_value(val) ⇒ Object
23 24 25 |
# File 'lib/pvn/command/options.rb', line 23 def set_value val Logue::Log.level = Logue::Log::DEBUG end |