summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasataka Pocke Kuwabara <kuwabara@pocke.me>2020-06-23 21:11:03 +0900
committerKazuhiro NISHIYAMA <znz@users.noreply.github.com>2020-06-24 15:17:53 +0900
commitb71047cca35a4a1a2813ee0a91c024ba3e49d3cc (patch)
tree38ea2626c3fc4339bc0a2c21a8b8a435cd3b215a
parentdc351ff984de001863d5167adf9ebd2fb317becd (diff)
Fix RubyVM::AbstractSyntaxTree document
RubyVM::AbstractSyntaxTree is a module actually, but the document says "class".
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3251
-rw-r--r--ast.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ast.rb b/ast.rb
index 55ca6c2da1..34fa645671 100644
--- a/ast.rb
+++ b/ast.rb
@@ -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.