class Shifty::DSL::BatchContext

Public Instance Methods

batch_complete?(value, collection) click to toggle source
# File lib/shifty/dsl.rb, line 60
def batch_complete?(value, collection)
  value.nil? ||
    !! batch_full.call(value, collection)
end