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