1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix RubyVM::AbstractSyntaxTree document

RubyVM::AbstractSyntaxTree is a module actually, but the document says "class".
This commit is contained in:
Masataka Pocke Kuwabara 2020-06-23 21:11:03 +09:00 committed by Kazuhiro NISHIYAMA
parent dc351ff984
commit b71047cca3
Notes: git 2020-06-24 15:18:31 +09:00

4
ast.rb
View file

@ -6,10 +6,10 @@ class RubyVM
# abstract syntax trees. The nodes in the tree
# are instances of RubyVM::AbstractSyntaxTree::Node.
#
# This class is MRI specific as it exposes implementation details
# This module is MRI specific as it exposes implementation details
# of the MRI abstract syntax tree.
#
# This class is experimental and its API is not stable, therefore it might
# This module is experimental and its API is not stable, therefore it might
# change without notice. As examples, the order of children nodes is not
# guaranteed, the number of children nodes might change, there is no way to
# access children nodes by name, etc.