Class: Mongoid::Fields::Internal::TrueClass

Inherits:
Boolean show all
Defined in:
lib/mongoid/fields/internal/true_class.rb

Overview

Defines the behaviour for true values.

Constant Summary

Constants inherited from Boolean

Boolean::MAPPINGS

Instance Attribute Summary

Attributes included from Serializable

#default_val, #label, #localize, #name, #options

Method Summary

Methods inherited from Boolean

#selection, #serialize

Methods included from Serializable

#constraint, #deserialize, #eval_default, #foreign_key?, #localized?, #metadata, #object_id_field?, #resizable?, #selection, #serialize, #type, #versioned?