Class: Sphene::Types::Time

Inherits:
Base
  • Object
show all
Defined in:
lib/sphene/types/time.rb

Class Method Summary collapse

Methods inherited from Base

cast

Class Method Details

.perform(value) ⇒ Object



8
9
10
# File 'lib/sphene/types/time.rb', line 8

def self.perform(value)
  ::Time.parse(value)
end