Module: Acclaim::Option::Type::Time

Defined in:
lib/acclaim/option/type/time.rb

Overview

Handles times given as arguments in the command line.

Class Method Summary collapse

Class Method Details

.handle(str) ⇒ Object

Parses a Time from the string.



12
13
14
# File 'lib/acclaim/option/type/time.rb', line 12

def self.handle(str)
  ::Time.parse str
end