Sha256: 7c9635c9d186dc9db1ed76fe28c4c0e88af8103973406879622a31a9aaff9196

Contents?: true

Size: 470 Bytes

Versions: 3

Compression:

Stored size: 470 Bytes

Contents

# frozen_string_literal: true

module DeepCover
  class Node
    # Reopened in base
    CLASSES = []
    def self.inherited(parent)
      CLASSES << parent
      super
    end
  end
  require_relative_dir 'node/mixin'
  require_relative 'node/base'
  require_relative_dir 'node'

  require_relative 'memoize'
  Node.include Memoize
  Node::CLASSES.freeze.each do |klass|
    klass.memoize :flow_entry_count, :flow_completion_count, :execution_count, :loc_hash
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
deep-cover-0.2.0 lib/deep_cover/node.rb
deep-cover-0.1.16 lib/deep_cover/node.rb
deep-cover-0.1.15 lib/deep_cover/node.rb