Class: Optimist::DateArrayOption
- Inherits:
-
DateOption
- Object
- Option
- DateOption
- Optimist::DateArrayOption
- Defined in:
- lib/optimist.rb
Overview
Option class for handling multiple dates
Instance Attribute Summary
Attributes inherited from Option
#default, #long, #multi_given, #name, #permitted, #permitted_response, #short
Instance Method Summary collapse
Methods inherited from DateOption
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 Optimist::Option
Instance Method Details
#multi_arg? ⇒ Boolean
1126 |
# File 'lib/optimist.rb', line 1126 def multi_arg? ; true ; end |
#type_format ⇒ Object
1125 |
# File 'lib/optimist.rb', line 1125 def type_format ; "=<date+>" ; end |