Skip to content

Commit

Permalink
add missing :nodoc: to store.rb. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
senny committed Jun 24, 2014
1 parent d5d94a7 commit 0bb8dfd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions activerecord/lib/active_record/store.rb
Expand Up @@ -99,7 +99,7 @@ def store_accessor(store_attribute, *keys)
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
Expand Down Expand Up @@ -132,7 +132,7 @@ def store_accessor_for(store_attribute)
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]
Expand All @@ -151,7 +151,7 @@ def self.prepare(object, attribute)
end
end

class StringKeyedHashAccessor < HashAccessor
class StringKeyedHashAccessor < HashAccessor # :nodoc:
def self.read(object, attribute, key)
super object, attribute, key.to_s
end
Expand All @@ -161,7 +161,7 @@ def self.write(object, attribute, key, value)
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)
Expand Down

0 comments on commit 0bb8dfd

Please sign in to comment.