aboutsummaryrefslogtreecommitdiffstats
path: root/ast.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ast.rb')
-rw-r--r--ast.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast.rb b/ast.rb
index 1fedf76649..d7e9df8678 100644
--- a/ast.rb
+++ b/ast.rb
@@ -84,7 +84,7 @@ class RubyVM
# root = RubyVM::AbstractSyntaxTree.parse("x = 1 + 2")
# root.type # => :SCOPE
# call = root.children[2]
- # call.type # => :OPCALL
+ # call.type # => :LASGN
def type
__builtin_ast_node_type
end