Sha256: e50c918429aa40132a663cf0f204b794b0d745c3a5fe45459e85a794ac422009

Contents?: true

Size: 613 Bytes

Versions: 1

Compression:

Stored size: 613 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module RSpec
    module Helpers
      module Custom
        class WrapMethod < Support::Command
          class WrappedMethod
            module Errors
              class ChainAttributePreliminaryAccess < ::StandardError
                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
end

Version data entries

1 entries across 1 versions & 1 rubygems

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