Class: Gremlin2Dot::Vertex
- Inherits:
-
Hash
- Object
- Hash
- Gremlin2Dot::Vertex
- Defined in:
- lib/gremlin2dot/data_model.rb
Instance Method Summary collapse
Instance Method Details
#id ⇒ Object
15 |
# File 'lib/gremlin2dot/data_model.rb', line 15 def id ; self['id'] ; end |
#inspect ⇒ Object
18 |
# File 'lib/gremlin2dot/data_model.rb', line 18 def inspect ; "#<#{self.class.name} #{super}>" ; end |
#label ⇒ Object
16 |
# File 'lib/gremlin2dot/data_model.rb', line 16 def label ; self['label'] ; end |
#properties ⇒ Object
17 |
# File 'lib/gremlin2dot/data_model.rb', line 17 def properties ; self['properties'] || {} ; end |