Class: OptimistXL::IntegerArrayOption
- Inherits:
-
IntegerOption
- Object
- Option
- IntegerOption
- OptimistXL::IntegerArrayOption
- Defined in:
- lib/optimist_xl.rb
Overview
Option class for handling multiple Integers
Instance Attribute Summary
Attributes inherited from Option
#default, #long, #max_args, #min_args, #multi_given, #name, #permitted, #permitted_response, #short
Instance Method Summary collapse
-
#initialize ⇒ IntegerArrayOption
constructor
A new instance of IntegerArrayOption.
- #type_format ⇒ Object
Methods inherited from IntegerOption
Methods inherited from Option
#array_default?, #callback, #compatible_with?, create, #desc, #description_with_default, #description_with_permitted, #doesnt_need_autogen_short, #educate, #format_stdio, #full_description, handle_long_opt, handle_short_opt, #multi, #opts, #opts=, #parse, #permitted_type_valid?, #permitted_valid_string, #permitted_value?, register_alias, #required?, #validate_permitted
Constructor Details
#initialize ⇒ IntegerArrayOption
Returns a new instance of IntegerArrayOption.
1269 |
# File 'lib/optimist_xl.rb', line 1269 def initialize ; super ; @max_args = 999 ; end |
Instance Method Details
#type_format ⇒ Object
1268 |
# File 'lib/optimist_xl.rb', line 1268 def type_format ; "=<i+>" ; end |