Sha256: 0e43ef41f3dd99bb65091983e5bcb7595b666224c22f6896f709984419494be5

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

module Analyst

  module Entities
    class Root < Entity

      def full_name
        ""
      end

      private

      def contents
        @contents ||= begin
          child_nodes = ast.children
          child_nodes.map { |child| Analyst::Parser.process_node(child, self) }.flatten
        end
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
analyst-0.14.2 lib/analyst/entities/root.rb
analyst-0.14.1 lib/analyst/entities/root.rb
analyst-0.14.0 lib/analyst/entities/root.rb