Class: PVN::Command::ColorOption
- Inherits:
-
Synoption::BooleanOption
- Object
- Synoption::BooleanOption
- PVN::Command::ColorOption
- Defined in:
- lib/pvn/command/color_option.rb
Instance Method Summary collapse
-
#initialize(optargs = Hash.new) ⇒ ColorOption
constructor
A new instance of ColorOption.
Constructor Details
#initialize(optargs = Hash.new) ⇒ ColorOption
Returns a new instance of ColorOption.
8 9 10 |
# File 'lib/pvn/command/color_option.rb', line 8 def initialize optargs = Hash.new super :color, nil, "show colorized output", true, :negate => [ '-C', %r{^--no-?color} ], :as_cmdline_option => nil end |