Sha256: 7c97d42875771aef490f9975d8117ed0f6385e18772d800e7c5e9e9717f0aacb

Contents?: true

Size: 344 Bytes

Versions: 15

Compression:

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

15 entries across 15 versions & 1 rubygems

Version Path
reek-2.0.4 lib/reek/core/singleton_method_context.rb
reek-2.0.3 lib/reek/core/singleton_method_context.rb
reek-2.0.2 lib/reek/core/singleton_method_context.rb
reek-2.0.1 lib/reek/core/singleton_method_context.rb
reek-2.0.0 lib/reek/core/singleton_method_context.rb
reek-1.6.6 lib/reek/core/singleton_method_context.rb
reek-1.6.5 lib/reek/core/singleton_method_context.rb
reek-1.6.4 lib/reek/core/singleton_method_context.rb
reek-1.6.3 lib/reek/core/singleton_method_context.rb
reek-1.6.2 lib/reek/core/singleton_method_context.rb
reek-1.6.1 lib/reek/core/singleton_method_context.rb
reek-1.6.0 lib/reek/core/singleton_method_context.rb
reek-1.5.1 lib/reek/core/singleton_method_context.rb
reek-1.5.0 lib/reek/core/singleton_method_context.rb
reek-1.4.0 lib/reek/core/singleton_method_context.rb