Sha256: 13d6cbcefb63909951e4eba8a69c3201c6e97f86d142a6ba8855aa8274a71638

Contents?: true

Size: 346 Bytes

Versions: 7

Compression:

Stored size: 346 Bytes

Contents

require 'reek/core/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

7 entries across 7 versions & 1 rubygems

Version Path
reek-1.3.8 lib/reek/core/singleton_method_context.rb
reek-1.3.7 lib/reek/core/singleton_method_context.rb
reek-1.3.6 lib/reek/core/singleton_method_context.rb
reek-1.3.5 lib/reek/core/singleton_method_context.rb
reek-1.3.4 lib/reek/core/singleton_method_context.rb
reek-1.3.3 lib/reek/core/singleton_method_context.rb
reek-1.3.2 lib/reek/core/singleton_method_context.rb