Method: ActiveRecord::Store::HashAccessor.read

Defined in:
lib/active_record/store.rb

.read(object, attribute, key) ⇒ Object



221
222
223
224
# File 'lib/active_record/store.rb', line 221

def self.read(object, attribute, key)
  prepare(object, attribute)
  object.public_send(attribute)[key]
end