aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Schneeman <richard.schneeman+no-recruiters@gmail.com>2017-08-25 15:39:35 -0500
committerGitHub <noreply@github.com>2017-08-25 15:39:35 -0500
commite7d54ecca671ea55bc7bbd67b259c0ee2c38d70a (patch)
treef4dc1559fa9ae233db7e7476cb989ef8f4768ed1
parent14c1a9c5e3471decee9ad09b91024a4293f1b2c2 (diff)
parent6d9d70a71096b4889b56a3d5104a521dd1ea7477 (diff)
downloadrails-e7d54ecca671ea55bc7bbd67b259c0ee2c38d70a.tar.gz
rails-e7d54ecca671ea55bc7bbd67b259c0ee2c38d70a.tar.bz2
rails-e7d54ecca671ea55bc7bbd67b259c0ee2c38d70a.zip
Merge pull request #30412 from yhirano55/add_nodoc_for_active_record_attribute_methods
Add :nodoc: for ActiveRecord::AttributeMethods [ci skip]
-rw-r--r--activerecord/lib/active_record/attribute_methods/read.rb2
-rw-r--r--activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb2
-rw-r--r--activerecord/lib/active_record/attribute_methods/write.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/read.rb b/activerecord/lib/active_record/attribute_methods/read.rb
index 615b2fa701..b070235684 100644
--- a/activerecord/lib/active_record/attribute_methods/read.rb
+++ b/activerecord/lib/active_record/attribute_methods/read.rb
@@ -5,7 +5,7 @@ module ActiveRecord
module Read
extend ActiveSupport::Concern
- module ClassMethods
+ module ClassMethods # :nodoc:
private
# We want to generate the methods via module_eval rather than
diff --git a/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb b/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
index f12a9f915c..d2b7817b45 100644
--- a/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
+++ b/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
@@ -62,7 +62,7 @@ module ActiveRecord
class_attribute :time_zone_aware_types, instance_writer: false, default: [ :datetime, :time ]
end
- module ClassMethods
+ module ClassMethods # :nodoc:
private
def inherited(subclass)
diff --git a/activerecord/lib/active_record/attribute_methods/write.rb b/activerecord/lib/active_record/attribute_methods/write.rb
index 62c5ce059b..37891ce2ef 100644
--- a/activerecord/lib/active_record/attribute_methods/write.rb
+++ b/activerecord/lib/active_record/attribute_methods/write.rb
@@ -9,7 +9,7 @@ module ActiveRecord
attribute_method_suffix "="
end
- module ClassMethods
+ module ClassMethods # :nodoc:
private
def define_method_attribute=(name)