Method: CodeNode::IR::Node::TemplateMethods#children

Defined in:
lib/code_node/ir/node/template_methods.rb

#childrenHash<String,Node>

The child nodes of this node

Examples:

module Foo     # Foo has children
  module Bar   # Bar
  end          # and
  class Car    # Car
  end
end

Returns:



31
32
33
# File 'lib/code_node/ir/node/template_methods.rb', line 31

def children
  @edge[:children]
end