Class: Pyer::Flag
Overview
Flag class
Instance Attribute Summary
Attributes inherited from Option
#callback, #description, #expects_argument, #name, #short, #value
Instance Method Summary collapse
-
#initialize(name, description, &block) ⇒ Flag
constructor
A new instance of Flag.
Constructor Details
#initialize(name, description, &block) ⇒ Flag
Returns a new instance of Flag.
303 304 305 306 |
# File 'lib/pyer/options.rb', line 303 def initialize(name, description, &block) super @value = false end |