Sha256: 5099f8438ca8a9a0d57e80c1e003af41488fe3e51d37879a54695f2a005a9a20

Contents?: true

Size: 668 Bytes

Versions: 1

Compression:

Stored size: 668 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module RSpec
    module Helpers
      module Custom
        class WrapMethod < Support::Command
          module Errors
            class ChainAttributePreliminaryAccess < ::ConvenientService::Error
              ##
              # @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

1 entries across 1 versions & 1 rubygems

Version Path
convenient_service-0.12.0 lib/convenient_service/rspec/helpers/custom/wrap_method/errors.rb