mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Support call-seq: for Ruby methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9f519d661c
commit
dcfe4ecff8
3 changed files with 19 additions and 0 deletions
|
@ -419,6 +419,11 @@ this margin are formatted verbatim.
|
|||
|
||||
12. Comment blocks can contain other directives:
|
||||
|
||||
[<tt>call-seq:</tt>]
|
||||
lines up to the next blank line in the comment are treated as
|
||||
the method's calling sequence, overriding the
|
||||
default parsing of method parameters and yield arguments.
|
||||
|
||||
[<tt>:include:</tt><i>filename</i>]
|
||||
include the contents of the named file at this point. The
|
||||
file will be searched for in the directories listed by
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue