lib/bulldog/processor/argument_tree.rb in bulldog-0.0.13 vs lib/bulldog/processor/argument_tree.rb in bulldog-0.0.14
- old
+ new
@@ -56,10 +56,10 @@
end
private # ---------------------------------------------------
def inspect_node(io, node, margin='')
- puts "#{margin}* #{node.styles.map(&:name).join(', ')}: #{node.arguments.join(' ')}"
+ puts "#{margin}* #{node.styles.map{|s| s.name}.join(', ')}: #{node.arguments.join(' ')}"
node.children.each do |child|
inspect_node(io, child, margin + ' ')
end
end