Class: ActiveRecord::Store::StringKeyedHashAccessor

Inherits:
HashAccessor
  • Object
show all
Defined in:
lib/active_record/store.rb

Class Method Summary collapse

Methods inherited from HashAccessor

prepare

Class Method Details

.read(object, attribute, key) ⇒ Object



155
156
157
# File 'lib/active_record/store.rb', line 155

def self.read(object, attribute, key)
  super object, attribute, key.to_s
end

.write(object, attribute, key, value) ⇒ Object



159
160
161
# File 'lib/active_record/store.rb', line 159

def self.write(object, attribute, key, value)
  super object, attribute, key.to_s, value
end