Sha256: 054d6c089263e1d6e2dc36acb6b687b48a7fde0c17ab9290e575628484a542ab

Contents?: true

Size: 362 Bytes

Versions: 4

Compression:

Stored size: 362 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 count_statements(num)
        0
      end

      def full_name
        ''
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
reek-1.2.7.3 lib/reek/core/stop_context.rb
reek-1.2.7.2 lib/reek/core/stop_context.rb
reek-1.2.7.1 lib/reek/core/stop_context.rb
reek-1.2.7 lib/reek/core/stop_context.rb