[ruby/prism] Fix typo in visitor example code

https://github.com/ruby/prism/commit/5aa963f8e6
This commit is contained in:
Tim Craft 2025-06-09 10:41:29 +01:00 committed by git
parent b8922a8d45
commit e210a70e9a

View File

@ -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
#