Class: LightModels::Model

Inherits:
Object
  • Object
show all
Defined in:
lib/lightmodels/model.rb

Overview

A light model. External objects contains a basic description (only type and attributes) of nodes referred by nodes in the proper model tree.

Instance Attribute Summary collapse

Instance Attribute Details

#external_objectsObject

Returns the value of attribute external_objects.



8
9
10
# File 'lib/lightmodels/model.rb', line 8

def external_objects
  @external_objects
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/lightmodels/model.rb', line 7

def name
  @name
end

#rootObject

Returns the value of attribute root.



6
7
8
# File 'lib/lightmodels/model.rb', line 6

def root
  @root
end