Class: PVN::Command::VerboseOption

Inherits:
Synoption::BooleanOption
  • Object
show all
Defined in:
lib/pvn/command/options.rb

Instance Method Summary collapse

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