Sha256: 56fb38c287dbbb4d9d8f5f8be303799e98a7b009f6eef7f88ab4dfa19bfbe99e

Contents?: true

Size: 336 Bytes

Versions: 2

Compression:

Stored size: 336 Bytes

Contents

module OpenEHR
  module Parser
    module CADL
      class ArchetypeNode
        attr_reader :parent
        attr_accessor :path, :id

        def initialize(parent = nil)
          @parent = parent
          @path = '/' if parent.nil?
        end

        def root?
          return parent.nil?
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
open_ehr-0.9.5 lib/open_ehr/parser/cadl_node.rb
open_ehr-0.9.4 lib/open_ehr/parser/cadl_node.rb