Class: Trollop::DateArrayOption
- Inherits:
-
DateOption
- Object
- Option
- DateOption
- Trollop::DateArrayOption
- Defined in:
- lib/trollop.rb
Overview
Option class for handling multiple dates
Instance Attribute Summary
Attributes inherited from Option
#default, #long, #multi_given, #name, #short
Instance Method Summary collapse
Methods inherited from DateOption
Methods inherited from Option
#array_default?, #callback, create, #desc, #description_with_default, #educate, #flag?, #initialize, #multi, #opts, #opts=, #parse, register_alias, #required?, #short?, #single_arg?
Constructor Details
This class inherits a constructor from Trollop::Option
Instance Method Details
#multi_arg? ⇒ Boolean
881 |
# File 'lib/trollop.rb', line 881 def multi_arg? ; true ; end |
#type_format ⇒ Object
880 |
# File 'lib/trollop.rb', line 880 def type_format ; "=<date+>" ; end |