Class: Fiesta::TimestampNormalizer
- Inherits:
-
Object
- Object
- Fiesta::TimestampNormalizer
- Defined in:
- lib/fiesta/timestamp_normalizer.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/fiesta/timestamp_normalizer.rb', line 8 def run if .is_a?(Time) else Time.parse(.to_s + "Z") end end |