Sha256: 9017b2f31d65e77a7001a80b508fded2ebfdc7d7306f46083a1b8c5e47ac536d

Contents?: true

Size: 330 Bytes

Versions: 29

Compression:

Stored size: 330 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(exp, name)
        @name = name
        super exp
      end
    end
  end
end

Version data entries

29 entries across 27 versions & 2 rubygems

Version Path
reek-6.1.0 lib/reek/context/send_context.rb
reek-6.0.6 lib/reek/context/send_context.rb
reek-6.0.5 lib/reek/context/send_context.rb
reek-6.0.4 lib/reek/context/send_context.rb
reek-6.0.3 lib/reek/context/send_context.rb
reek-6.0.2 lib/reek/context/send_context.rb
reek-6.0.1 lib/reek/context/send_context.rb
reek-6.0.0 lib/reek/context/send_context.rb
reek-5.6.0 lib/reek/context/send_context.rb
reek-5.5.0 lib/reek/context/send_context.rb
reek-5.4.1 lib/reek/context/send_context.rb
reek-5.4.0 lib/reek/context/send_context.rb
reek-5.3.2 lib/reek/context/send_context.rb
reek-5.3.1 lib/reek/context/send_context.rb
reek-5.3.0 lib/reek/context/send_context.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/lib/reek/context/send_context.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/lib/reek/context/send_context.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/lib/reek/context/send_context.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/lib/reek/context/send_context.rb
reek-5.2.0 lib/reek/context/send_context.rb