class Nandi::Migration::InstructionSet
Public Instance Methods
strictest_lock()
click to toggle source
# File lib/nandi/migration.rb, line 37 def strictest_lock return LockWeights::SHARE if empty? map { |i| i.respond_to?(:lock) ? i.lock : LockWeights::ACCESS_EXCLUSIVE }.max end