Class: Recheck::Optimist::IntegerArrayOption
- Inherits:
-
IntegerOption
- Object
- Option
- IntegerOption
- Recheck::Optimist::IntegerArrayOption
- Defined in:
- lib/recheck/vendor/optimist.rb
Overview
Option class for handling multiple Integers
Instance Attribute Summary
Attributes inherited from Option
#default, #long, #multi_given, #name, #permitted, #permitted_response, #short
Instance Method Summary collapse
Methods inherited from IntegerOption
Methods inherited from Option
#array_default?, #callback, create, #desc, #doesnt_need_autogen_short, #educate, #flag?, #format_stdio, #full_description, #initialize, #multi, #opts, #opts=, #parse, #permitted_type_valid?, #permitted_valid_string, #permitted_value?, register_alias, #required?, #single_arg?, #validate_permitted
Constructor Details
This class inherits a constructor from Recheck::Optimist::Option
Instance Method Details
#multi_arg? ⇒ Boolean
1167 1168 1169 |
# File 'lib/recheck/vendor/optimist.rb', line 1167 def multi_arg? true end |
#type_format ⇒ Object
1163 1164 1165 |
# File 'lib/recheck/vendor/optimist.rb', line 1163 def type_format "=<i+>" end |