Exception: ConvenientService::Support::FiniteLoop::Exceptions::NoBlockGiven

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/support/finite_loop.rb

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_without_argumentsvoid

This method returns an undefined value.



32
33
34
35
36
37
38
# File 'lib/convenient_service/support/finite_loop.rb', line 32

def initialize_without_arguments
  message = <<~TEXT
    `finite_loop` always expects a block to be given.
  TEXT

  initialize(message)
end