lib/visualize_ruby/parser.rb in visualize_ruby-0.6.0 vs lib/visualize_ruby/parser.rb in visualize_ruby-0.7.0
- old
+ new
@@ -37,10 +37,10 @@
end
private
def parse_by_type
- Parser.const_get(ast.type.to_s.capitalize).new(ast).parse
+ Parser.const_get(ast.type.to_s.capitalize, false).new(ast).parse
rescue NameError
Str.new(ast).parse
end
def merge(nodes, edges)