Class: Shifty::DSL::BatchContext
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Shifty::DSL::BatchContext
- Defined in:
- lib/shifty/dsl.rb
Instance Method Summary collapse
Instance Method Details
#batch_complete?(value, collection) ⇒ Boolean
62 63 64 65 |
# File 'lib/shifty/dsl.rb', line 62 def batch_complete?(value, collection) value.nil? || !!batch_full.call(value, collection) end |