Sha256: 99f0ecffd2e3457590db8246b13a322b4a85c506e67f813f93d7d0742db5d4d9

Contents?: true

Size: 347 Bytes

Versions: 28

Compression:

Stored size: 347 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

28 entries across 28 versions & 1 rubygems

Version Path
reek-4.1.0 lib/reek/context/send_context.rb
reek-4.0.5 lib/reek/context/send_context.rb
reek-4.0.4 lib/reek/context/send_context.rb
reek-4.0.3 lib/reek/context/send_context.rb
reek-4.0.2 lib/reek/context/send_context.rb
reek-4.0.1 lib/reek/context/send_context.rb
reek-4.0.0 lib/reek/context/send_context.rb
reek-4.0.0.pre1 lib/reek/context/send_context.rb