Class: Typekit::Converter::DateTime

Inherits:
Object
  • Object
show all
Defined in:
lib/typekit/converter/datetime.rb

Instance Method Summary collapse

Constructor Details

#initializeDateTime

Returns a new instance of DateTime.



4
5
# File 'lib/typekit/converter/datetime.rb', line 4

def initialize(*)
end

Instance Method Details

#process(result, object) ⇒ Object



7
8
9
# File 'lib/typekit/converter/datetime.rb', line 7

def process(result, object)
  ::DateTime.parse(object)
end