Class: ActiveSupport::TimeWithZone
- Inherits:
-
Object
- Object
- ActiveSupport::TimeWithZone
- Defined in:
- lib/td/logger/agent/rails.rb
Instance Method Summary collapse
Instance Method Details
#to_msgpack(out = '') ⇒ Object
56 57 58 |
# File 'lib/td/logger/agent/rails.rb', line 56 def to_msgpack(out='') strftime("%Y-%m-%d %H:%M:%S %z").to_msgpack(out) end |