Class: RailsGraph::Graph::Nodes::VirtualModel
- Inherits:
-
RailsGraph::Graph::Node
- Object
- Entity
- RailsGraph::Graph::Node
- RailsGraph::Graph::Nodes::VirtualModel
- Defined in:
- lib/rails_graph/graph/nodes/virtual_model.rb
Instance Attribute Summary
Attributes inherited from RailsGraph::Graph::Node
Attributes inherited from Entity
Instance Method Summary collapse
- #identifier ⇒ Object
-
#initialize(name) ⇒ VirtualModel
constructor
A new instance of VirtualModel.
Methods inherited from RailsGraph::Graph::Node
Constructor Details
#initialize(name) ⇒ VirtualModel
Returns a new instance of VirtualModel.
9 10 11 12 13 14 15 |
# File 'lib/rails_graph/graph/nodes/virtual_model.rb', line 9 def initialize(name) super( labels: "VirtualModel", name: name, properties: {} ) end |
Instance Method Details
#identifier ⇒ Object
17 18 19 |
# File 'lib/rails_graph/graph/nodes/virtual_model.rb', line 17 def identifier name end |