Class: ActiveRecord::Type::Boolean

Inherits:
Value
  • Object
show all
Defined in:
lib/active_record/type/boolean.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Value

#limit, #precision, #scale

Instance Method Summary collapse

Methods inherited from Value

#==, #binary?, #changed?, #changed_in_place?, #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



4
5
6
# File 'lib/active_record/type/boolean.rb', line 4

def type
  :boolean
end