diff options
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/lock.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/nodes/lock.rb b/lib/arel/nodes/lock.rb index e5fb258e26..f4eaf125e0 100644 --- a/lib/arel/nodes/lock.rb +++ b/lib/arel/nodes/lock.rb @@ -1,6 +1,10 @@ module Arel module Nodes class Lock < Arel::Nodes::Node + attr_reader :locking + def initialize locking = true + @locking = locking + end end end end |