Sha256: 486a209d5d7e17c64dbb9e20c45218eada330de3ddaf6fe28c4232070ce63940

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

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

        def initialize(parent = nil)
          @parent = parent
        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.3 lib/open_ehr/parser/cadl_node.rb
open_ehr-0.9.2 lib/open_ehr/parser/cadl_node.rb