Class: Archimate::DataModel::Location

Inherits:
ArchimateNode
  • Object
show all
Defined in:
lib/archimate/data_model/location.rb

Overview

Graphical node type. It can contain child node types. This is LocationType/LocationGroup in the XSD.

Instance Attribute Summary

Attributes inherited from ArchimateNode

#parent_attribute_name, #struct_instance_variables

Instance Method Summary collapse

Methods inherited from ArchimateNode

#ancestors, #build_index, #clone, #compact!, #delete, #diff, #dup, #element_by_id, #id, #in_model, #in_model=, #initialize, #parent, #parent=, #path, #primitive?, #referenced_identified_nodes, #set, #with

Constructor Details

This class inherits a constructor from Archimate::DataModel::ArchimateNode

Instance Method Details

#to_sObject



23
24
25
# File 'lib/archimate/data_model/location.rb', line 23

def to_s
  "Location(x: #{x}, y: #{y})"
end