10000 [ruby/prism] Fix typo in visitor example code · github/ruby@e210a70 · GitHub
[go: up one dir, main page]

Skip to content

Commit e210a70

Browse files
timcraftmatzbot
authored andcommitted
[ruby/prism] Fix typo in visitor example code
ruby/prism@5aa963f8e6
1 parent b8922a8 commit e210a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prism/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)
0