Method: TmcHelpers#until_not_includes
- Defined in:
- lib/helpers/tmc_helpers/tmc_helpers.rb
#until_not_includes(value, args = {}, &block) ⇒ Object
Public: Yields the given block until the result does not include the specified value.
value - Object value that must not be included in the result of the block. timeout - Integer total milliseconds to try meeting the criteria before timing out (default: 30.sec). message - String custom message to log (default: ‘executing provided block’). block - Block to yield.
Returns the final result of yielding the block.
247 248 249 250 |
# File 'lib/helpers/tmc_helpers/tmc_helpers.rb', line 247 def until_not_includes(value, args={}, &block) args[:value] = value until_condition(:not_includes, args, &block) end |