Class: ActiveSupport::TimeWithZone
- Inherits:
-
Object
- Object
- ActiveSupport::TimeWithZone
- Defined in:
- lib/rubyamf/rails/time.rb
Overview
Make sure ActiveSupport::TimeWithZone serializes correctly
Instance Method Summary collapse
Instance Method Details
#encode_amf(ser) ⇒ Object
3 4 5 |
# File 'lib/rubyamf/rails/time.rb', line 3 def encode_amf ser ser.serialize ser.version, self.to_datetime end |