Sha256: 19aa318f6fd50e56c63f8090c8186f34e89a458ce994480af4540108e7bed10d

Contents?: true

Size: 694 Bytes

Versions: 4

Compression:

Stored size: 694 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module RSpec
    module Helpers
      module Classes
        class WrapMethod < Support::Command
          module Exceptions
            class ChainAttributePreliminaryAccess < ::ConvenientService::Exception
              ##
              # @param attribute [Symbol]
              # @return [void]
              #
              def initialize_with_kwargs(attribute:)
                message = <<~TEXT
                  Chain attribute `#{attribute}` is accessed before the chain is called.
                TEXT

                initialize(message)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/rspec/helpers/classes/wrap_method/exceptions.rb
convenient_service-0.19.0 lib/convenient_service/rspec/helpers/classes/wrap_method/exceptions.rb
convenient_service-0.18.0 lib/convenient_service/rspec/helpers/classes/wrap_method/exceptions.rb
convenient_service-0.17.0 lib/convenient_service/rspec/helpers/classes/wrap_method/exceptions.rb