Sha256: 2e0e944096b7ee3f8a89d77982278ed035ba2a7be7273cbc3d3ecdcac2c305e4

Contents?: true

Size: 676 Bytes

Versions: 2

Compression:

Stored size: 676 Bytes

Contents

# frozen_string_literal: true

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

                super(message)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
convenient_service-0.14.0 lib/convenient_service/rspec/helpers/custom/wrap_method/exceptions.rb
convenient_service-0.13.0 lib/convenient_service/rspec/helpers/custom/wrap_method/exceptions.rb