Class: Gremlin2Dot::Property

Inherits:
Hash
  • Object
show all
Defined in:
lib/gremlin2dot/data_model.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



43
44
45
# File 'lib/gremlin2dot/data_model.rb', line 43

def inspect
  value.inspect
end

#keyObject



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_sObject



47
48
49
# File 'lib/gremlin2dot/data_model.rb', line 47

def to_s
  value.to_s
end

#valueObject



41
# File 'lib/gremlin2dot/data_model.rb', line 41

def value ; self['value'] ; end