aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-11-07 12:58:44 -0500
committerYves Senn <yves.senn@gmail.com>2015-11-07 12:58:44 -0500
commitb4250b5c9282f866e2e247480fd4e4b184a21430 (patch)
treeb413afdf72efb10e6f27ddcd5156172979d646db
parent3aa5f2c203f1161a63a1e5be5b5263c339e2653b (diff)
downloadrails-b4250b5c9282f866e2e247480fd4e4b184a21430.tar.gz
rails-b4250b5c9282f866e2e247480fd4e4b184a21430.tar.bz2
rails-b4250b5c9282f866e2e247480fd4e4b184a21430.zip
docs, nodoc `EnumType`. [ci skip]
This type is backed by a class macro. Documentation related to the type casting behavior should be added in the macro description.
-rw-r--r--activerecord/lib/active_record/enum.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/enum.rb b/activerecord/lib/active_record/enum.rb
index 8fba6fcc35..7ded96f8fb 100644
--- a/activerecord/lib/active_record/enum.rb
+++ b/activerecord/lib/active_record/enum.rb
@@ -104,7 +104,7 @@ module ActiveRecord
super
end
- class EnumType < Type::Value
+ class EnumType < Type::Value # :nodoc:
def initialize(name, mapping)
@name = name
@mapping = mapping