From b71047cca35a4a1a2813ee0a91c024ba3e49d3cc Mon Sep 17 00:00:00 2001 From: Masataka Pocke Kuwabara Date: Tue, 23 Jun 2020 21:11:03 +0900 Subject: [PATCH] Fix RubyVM::AbstractSyntaxTree document RubyVM::AbstractSyntaxTree is a module actually, but the document says "class". --- ast.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ast.rb b/ast.rb index 55ca6c2da1b45e..34fa645671de3a 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.