mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parse.y: fix docs for Ripper.dedent_string
* parse.y: [DOC] fix return type in call-seq of Ripper.dedent_string, clarify the method's behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
610dc339b6
commit
d33ddd631b
1 changed files with 3 additions and 3 deletions
6
parse.y
6
parse.y
|
@ -6130,10 +6130,10 @@ heredoc_dedent(struct parser_params *p, VALUE array)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* Ripper.dedent_string(input, width) -> string
|
||||
* Ripper.dedent_string(input, width) -> Integer
|
||||
*
|
||||
* Strips leading +width+ whitespaces from +input+, and returns
|
||||
* stripped column width.
|
||||
* Strips up to +width+ leading whitespaces from +input+,
|
||||
* and returns the stripped column width.
|
||||
*/
|
||||
static VALUE
|
||||
parser_dedent_string(VALUE self, VALUE input, VALUE width)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue