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

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/can_have_step_aware_enumerables/exceptions.rb

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_without_argumentsvoid

This method returns an undefined value.



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 collection has already used a terminal chaining like `all?`, `any?`, `find`, `first`, etc.
  TEXT

  initialize(message)
end