[ruby/prism] Fix typo in visitor example code
https://github.com/ruby/prism/commit/5aa963f8e6
This commit is contained in:
parent
b8922a8d45
commit
e210a70e9a
@ -34,7 +34,7 @@ module Prism
|
||||
#
|
||||
# class FooCalls < Prism::Visitor
|
||||
# def visit_call_node(node)
|
||||
# if node.name == "foo"
|
||||
# if node.name == :foo
|
||||
# # Do something with the node
|
||||
# end
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user