From 56557ec28a8712984a0e9744fd7547e797ec9b6b Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 22 Mar 2019 11:04:59 +0000 Subject: [DOC] fix markups [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ast.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ast.c') diff --git a/ast.c b/ast.c index 959529738e..18562f252c 100644 --- a/ast.c +++ b/ast.c @@ -77,10 +77,10 @@ ast_parse_done(rb_ast_t *ast) * call-seq: * RubyVM::AbstractSyntaxTree.parse(string) -> RubyVM::AbstractSyntaxTree::Node * - * Parses the given string into an abstract syntax tree, + * Parses the given _string_ into an abstract syntax tree, * returning the root node of that tree. * - * SyntaxError is raised if the given string is invalid syntax. + * SyntaxError is raised if the given _string_ is invalid syntax. * * RubyVM::AbstractSyntaxTree.parse("x = 1 + 2") * # => # @@ -105,10 +105,10 @@ rb_ast_parse_str(VALUE str) * call-seq: * RubyVM::AbstractSyntaxTree.parse_file(pathname) -> RubyVM::AbstractSyntaxTree::Node * - * Reads the file from pathname, then parses it like ::parse, + * Reads the file from _pathname_, then parses it like ::parse, * returning the root node of the abstract syntax tree. * - * SyntaxError is raised if pathname's contents are not + * SyntaxError is raised if _pathname_'s contents are not * valid Ruby syntax. * * RubyVM::AbstractSyntaxTree.parse_file("my-app/app.rb") @@ -205,7 +205,7 @@ script_lines(VALUE path) * RubyVM::AbstractSyntaxTree.of(proc) -> RubyVM::AbstractSyntaxTree::Node * RubyVM::AbstractSyntaxTree.of(method) -> RubyVM::AbstractSyntaxTree::Node * - * Returns AST nodes of the given proc or method. + * Returns AST nodes of the given _proc_ or _method_. * * RubyVM::AbstractSyntaxTree.of(proc {1 + 2}) * # => # -- cgit v1.2.1