Class: Gremlin2Dot::Property
- Inherits:
-
Hash
- Object
- Hash
- Gremlin2Dot::Property
- Defined in:
- lib/gremlin2dot/data_model.rb
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
43 44 45 |
# File 'lib/gremlin2dot/data_model.rb', line 43 def inspect value.inspect end |
#key ⇒ Object
40 |
# File 'lib/gremlin2dot/data_model.rb', line 40 def key ; self['key'] ; end |
#pretty_print(*args) ⇒ Object
51 52 53 |
# File 'lib/gremlin2dot/data_model.rb', line 51 def pretty_print(*args) value.pretty_print *args end |
#to_s ⇒ Object
47 48 49 |
# File 'lib/gremlin2dot/data_model.rb', line 47 def to_s value.to_s end |
#value ⇒ Object
41 |
# File 'lib/gremlin2dot/data_model.rb', line 41 def value ; self['value'] ; end |