Sha256: fa660c098ff1cf50885ae929d850ec47aed97ed9bd06e31e3904e382fce32c89

Contents?: true

Size: 348 Bytes

Versions: 3

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

require_relative 'code_context'

module Reek
  module Context
    #
    # A context wrapper for method calls found in a syntax tree.
    #
    class SendContext < CodeContext
      attr_reader :name

      def initialize(context, exp, name)
        @name = name
        super context, exp
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reek-4.7.1 lib/reek/context/send_context.rb
reek-4.7.0 lib/reek/context/send_context.rb
reek-4.6.2 lib/reek/context/send_context.rb