Skip to content

Commit

Permalink
Fix RubyVM::AbstractSyntaxTree document
Browse files Browse the repository at this point in the history
RubyVM::AbstractSyntaxTree is a module actually, but the document says "class".
  • Loading branch information
pocke authored and znz committed Jun 24, 2020
1 parent dc351ff commit b71047c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ast.rb
Expand Up @@ -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.
Expand Down

0 comments on commit b71047c

Please sign in to comment.