Sha256: 8898b9cfb666e3de27b55caa739115ffd3af18b1f5ed5b03c6844e1ceb5cf068

Contents?: true

Size: 389 Bytes

Versions: 10

Compression:

Stored size: 389 Bytes

Contents

require File.join(File.dirname(File.expand_path(__FILE__)), '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

10 entries across 10 versions & 1 rubygems

Version Path
reek-1.3.1 lib/reek/core/singleton_method_context.rb
reek-1.3 lib/reek/core/singleton_method_context.rb
reek-1.2.13 lib/reek/core/singleton_method_context.rb
reek-1.2.12 lib/reek/core/singleton_method_context.rb
reek-1.2.11 lib/reek/core/singleton_method_context.rb
reek-1.2.10 lib/reek/core/singleton_method_context.rb
reek-1.2.9 lib/reek/core/singleton_method_context.rb
reek-1.2.8 lib/reek/core/singleton_method_context.rb
reek-1.2.7.3 lib/reek/core/singleton_method_context.rb
reek-1.2.7.2 lib/reek/core/singleton_method_context.rb