Class: Root

Inherits:
Keyword show all
Defined in:
lib/diml/elements/root.rb

Overview

Root is a special element that the DIML document does not specify It is used to start the content tree

Instance Attribute Summary

Attributes inherited from Keyword

#content

Instance Method Summary collapse

Methods inherited from Keyword

#initialize

Constructor Details

This class inherits a constructor from Keyword

Instance Method Details

#virtual?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/diml/elements/root.rb', line 8

def virtual?
  true
end