Class: ActiveRecord::Type::Time

Inherits:
Value show all
Includes:
TimeValue
Defined in:
activerecord/lib/active_record/type/time.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Value

#limit, #precision, #scale

Instance Method Summary collapse

Methods included from TimeValue

#klass, #type_cast_for_schema

Methods inherited from Value

#==, #binary?, #changed?, #changed_in_place?, #hash, #initialize, #klass, #number?, #text?, #type_cast_for_database, #type_cast_for_schema, #type_cast_from_database, #type_cast_from_user

Constructor Details

This class inherits a constructor from ActiveRecord::Type::Value

Instance Method Details

#typeObject


6
7
8
# File 'activerecord/lib/active_record/type/time.rb', line 6

def type
  :time
end