[前][次][番号順一覧][スレッド一覧]

ruby-changes:61913

From: Masataka <ko1@a...>
Date: Wed, 24 Jun 2020 15:18:16 +0900 (JST)
Subject: [ruby-changes:61913] b71047cca3 (master): Fix RubyVM::AbstractSyntaxTree document

https://git.ruby-lang.org/ruby.git/commit/?id=b71047cca3

From b71047cca35a4a1a2813ee0a91c024ba3e49d3cc Mon Sep 17 00:00:00 2001
From: Masataka Pocke Kuwabara <kuwabara@p...>
Date: Tue, 23 Jun 2020 21:11:03 +0900
Subject: Fix RubyVM::AbstractSyntaxTree document

RubyVM::AbstractSyntaxTree is a module actually, but the document says "class".

diff --git a/ast.rb b/ast.rb
index 55ca6c2..34fa645 100644
--- a/ast.rb
+++ b/ast.rb
@@ -6,10 +6,10 @@ class RubyVM https://github.com/ruby/ruby/blob/trunk/ast.rb#L6
   # 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.
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]