aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-06-24 13:52:21 +0200
committerYves Senn <yves.senn@gmail.com>2014-06-24 13:58:07 +0200
commit0bb8dfd0471b937e06734176a35176aea8d5f658 (patch)
tree4c066be87ce29a89dee89c5671020637ae8de76a
parentd5d94a7750cf2744cc1658dd20fa26c008fb6249 (diff)
downloadrails-0bb8dfd0471b937e06734176a35176aea8d5f658.tar.gz
rails-0bb8dfd0471b937e06734176a35176aea8d5f658.tar.bz2
rails-0bb8dfd0471b937e06734176a35176aea8d5f658.zip
add missing `:nodoc:` to `store.rb`. [ci skip]
-rw-r--r--activerecord/lib/active_record/store.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/store.rb b/activerecord/lib/active_record/store.rb
index 219e19dbb8..3c291f28e3 100644
--- a/activerecord/lib/active_record/store.rb
+++ b/activerecord/lib/active_record/store.rb
@@ -99,7 +99,7 @@ module ActiveRecord
self.local_stored_attributes[store_attribute] |= keys
end
- def _store_accessors_module
+ def _store_accessors_module # :nodoc:
@_store_accessors_module ||= begin
mod = Module.new
include mod
@@ -132,7 +132,7 @@ module ActiveRecord
type_for_attribute(store_attribute.to_s).accessor
end
- class HashAccessor
+ class HashAccessor # :nodoc:
def self.read(object, attribute, key)
prepare(object, attribute)
object.public_send(attribute)[key]
@@ -151,7 +151,7 @@ module ActiveRecord
end
end
- class StringKeyedHashAccessor < HashAccessor
+ class StringKeyedHashAccessor < HashAccessor # :nodoc:
def self.read(object, attribute, key)
super object, attribute, key.to_s
end
@@ -161,7 +161,7 @@ module ActiveRecord
end
end
- class IndifferentHashAccessor < ActiveRecord::Store::HashAccessor
+ class IndifferentHashAccessor < ActiveRecord::Store::HashAccessor # :nodoc:
def self.prepare(object, store_attribute)
attribute = object.send(store_attribute)
unless attribute.is_a?(ActiveSupport::HashWithIndifferentAccess)