Class: Swift::Type::Time

Inherits:
Attribute show all
Defined in:
lib/swift/type.rb

Overview

deprecated

Instance Attribute Summary

Attributes inherited from Attribute

#field, #key, #name, #serial

Instance Method Summary collapse

Methods inherited from Attribute

#default, #define_record_methods, #to_s

Constructor Details

#initialize(*args) ⇒ Time

Returns a new instance of Time.



14
15
16
17
# File 'lib/swift/type.rb', line 14

def initialize *args
  warn "Swift::Type::Time is deprecated. Use Swift::Type::DateTime instead"
  super
end