Sha256: b795e2bea41ee7a5afb8308c1e9b9c74a8466a918dfbdf836e1d03cec99202a4
Contents?: true
Size: 234 Bytes
Versions: 1
Compression:
Stored size: 234 Bytes
Contents
require "sequel_mapper/abstract_record" module SequelMapper class UpsertedRecord < AbstractRecord def if_upsert(&block) block.call(self) self end protected def operation :upsert end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sequel_mapper-0.0.3 | lib/sequel_mapper/upserted_record.rb |