Sha256: e32b2f936e160a8b3d34032b76a5604940ab869037b58d36c5510f4a37803154

Contents?: true

Size: 401 Bytes

Versions: 13

Compression:

Stored size: 401 Bytes

Contents

module Reek
  module Core

    #
    # A context wrapper representing the root of an abstract syntax tree.
    #
    class StopContext

      def initialize
        @name = ''
      end

      def method_missing(method, *args)
        nil
      end

      def config
        {}
      end

      def count_statements(num)
        0
      end

      def full_name
        ''
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
reek-1.3.6 lib/reek/core/stop_context.rb
reek-1.3.5 lib/reek/core/stop_context.rb
reek-1.3.4 lib/reek/core/stop_context.rb
reek-1.3.3 lib/reek/core/stop_context.rb
reek-1.3.2 lib/reek/core/stop_context.rb
reek-1.3.1 lib/reek/core/stop_context.rb
reek-1.3 lib/reek/core/stop_context.rb
reek-1.2.13 lib/reek/core/stop_context.rb
reek-1.2.12 lib/reek/core/stop_context.rb
reek-1.2.11 lib/reek/core/stop_context.rb
reek-1.2.10 lib/reek/core/stop_context.rb
reek-1.2.9 lib/reek/core/stop_context.rb
reek-1.2.8 lib/reek/core/stop_context.rb