Exception: ConvenientService::RSpec::Helpers::Classes::WrapMethod::Exceptions::ChainAttributePreliminaryAccess

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/rspec/helpers/classes/wrap_method/exceptions.rb

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(attribute:) ⇒ void

This method returns an undefined value.

Parameters:

  • attribute (Symbol)


14
15
16
17
18
19
20
# File 'lib/convenient_service/rspec/helpers/classes/wrap_method/exceptions.rb', line 14

def initialize_with_kwargs(attribute:)
  message = "    Chain attribute `\#{attribute}` is accessed before the chain is called.\n  TEXT\n\n  initialize(message)\nend\n"