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

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_without_argumentsvoid

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Since:

  • 1.0.0



37
38
39
40
41
42
43
# File 'lib/convenient_service/support/finite_loop.rb', line 37

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

  initialize(message)
end