Exception: ConvenientService::Service::Plugins::CanHaveStepAwareEnumerables::Exceptions::AlreadyUsedTerminalChaining Private

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/can_have_step_aware_enumerables/exceptions.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



51
52
53
54
55
56
57
# File 'lib/convenient_service/service/plugins/can_have_step_aware_enumerables/exceptions.rb', line 51

def initialize_without_arguments
  message = <<~TEXT
    Step aware enumerable has already used a terminal chaining like `all?`, `any?`, `find`, `first`, etc.
  TEXT

  initialize(message)
end