class PostgresqlHstoreTest::TagCollection

Public Class Methods

dump(object) click to toggle source
# File activerecord/test/cases/adapters/postgresql/hstore_test.rb, line 318
def self.dump(object); object.to_hash end
load(hash) click to toggle source
# File activerecord/test/cases/adapters/postgresql/hstore_test.rb, line 317
def self.load(hash); new(hash) end
new(hash) click to toggle source
# File activerecord/test/cases/adapters/postgresql/hstore_test.rb, line 315
def initialize(hash); @hash = hash end

Public Instance Methods

to_hash() click to toggle source
# File activerecord/test/cases/adapters/postgresql/hstore_test.rb, line 316
def to_hash; @hash end