Skip to content

Commit 3bd6837

Browse files
authored
Merge pull request #3578 from timcraft/fix-typo
Fix typo in visitor example code
2 parents 8246f09 + 5aa963f commit 3bd6837

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/lib/prism/visitor.rb.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Prism
3434
#
3535
# class FooCalls < Prism::Visitor
3636
# def visit_call_node(node)
37-
# if node.name == "foo"
37+
# if node.name == :foo
3838
# # Do something with the node
3939
# end
4040
#

0 commit comments

Comments
 (0)