Sha256: 2e13ff8abde0f17ab8da285d5b0f18db1aa578e550d62faf14688f90271ddab4
Contents?: true
Size: 249 Bytes
Versions: 9
Compression:
Stored size: 249 Bytes
Contents
module Arel class Lock < Compound attributes :relation, :locked deriving :initialize, :== def initialize(relation, locked, &block) @relation = relation @locked = locked.blank? ? " FOR UPDATE" : locked end end end
Version data entries
9 entries across 9 versions & 2 rubygems