File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 152
152
# OptionParser supports the ability to coerce command line arguments
153
153
# into objects for us.
154
154
#
155
- # OptionParser comes with a few ready-to-use kinds of type
155
+ # OptionParser comes with a few ready-to-use kinds of type
156
156
# coercion. They are:
157
157
83CD
td>#
158
- # - Date -- Anything accepted by +Date.parse+
159
- # - DateTime -- Anything accepted by +DateTime.parse+
160
- # - Time -- Anything accepted by +Time.httpdate+ or +Time.parse+
161
- # - URI -- Anything accepted by +URI.parse+
162
- # - Shellwords -- Anything accepted by +Shellwords.shellwords+
158
+ # - Date -- Anything accepted by +Date.parse+ (need to require +optparse/date+)
159
+ # - DateTime -- Anything accepted by +DateTime.parse+ (need to require +optparse/date+)
160
+ # - Time -- Anything accepted by +Time.httpdate+ or +Time.parse+ (need to require +optparse/time+)
161
+ # - URI -- Anything accepted by +URI.parse+ (need to require +optparse/uri+)
162
+ # - Shellwords -- Anything accepted by +Shellwords.shellwords+ (need to require +optparse/shellwords+)
163
163
# - String -- Any non-empty string
164
164
# - Integer -- Any integer. Will convert octal. (e.g. 124, -3, 040)
165
165
# - Float -- Any float. (e.g. 10, 3.14, -100E+13)
You can’t perform that action at this time.
0 commit comments