Method: Puffer::Resource::Node#to_struct

Defined in:
lib/puffer/resource/node.rb

#to_structObject



66
67
68
# File 'lib/puffer/resource/node.rb', line 66

def to_struct
  {:scope => scope, :current => name, :children => children.map(&:name), :ancestors => ancestors.map(&:name)}
end