Sha256: c00f5cbbe943c0e06e41de0430552394b090bcee61599c03b3c07764f6c7ddaf

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

require_relative 'method_context'

module Reek
  module Core
    #
    # A context wrapper for any singleton method definition found in a syntax tree.
    #
    class SingletonMethodContext < MethodContext
      def initialize(outer, exp)
        super(outer, exp)
      end

      def envious_receivers
        []
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reek-2.1.0 lib/reek/core/singleton_method_context.rb