Module: Acclaim::Option::Type::Date
- Defined in:
- lib/acclaim/option/type/date.rb
Overview
Handles dates given as arguments in the command line.
Class Method Summary collapse
-
.handle(str) ⇒ Object
Parses a
Date
from the string.
Class Method Details
.handle(str) ⇒ Object
Parses a Date
from the string.
14 15 16 |
# File 'lib/acclaim/option/type/date.rb', line 14 def self.handle(str) ::Date.parse str end |