Class: FBO::Dump::ComplexPropertyNode

Inherits:
SimplePropertyNode show all
Defined in:
lib/fbo/node_extensions.rb

Overview

Complex properties may contain other simple properties

Direct Known Subclasses

EmailNode, FileListNode, LinkNode

Instance Method Summary collapse

Methods inherited from SimplePropertyNode

#to_hash, #to_sym

Instance Method Details

#valueObject



166
167
168
169
170
# File 'lib/fbo/node_extensions.rb', line 166

def value
  value_hash = {}
  elements.each { |e| value_hash.merge!(e.to_hash) }
  value_hash
end