mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add call-seq to Pathname#open from File.open
before: ``` open(p1 = v1, p2 = v2, p3 = v3) ```
This commit is contained in:
parent
9b9a621ae3
commit
3c7a09ece8
1 changed files with 7 additions and 0 deletions
|
@ -657,6 +657,13 @@ path_make_link(VALUE self, VALUE old)
|
|||
}
|
||||
|
||||
/*
|
||||
* call-seq:
|
||||
* pathname.open()
|
||||
* pathname.open(mode="r" [, opt]) -> file
|
||||
* pathname.open([mode [, perm]] [, opt]) -> file
|
||||
* pathname.open(mode="r" [, opt]) {|file| block } -> obj
|
||||
* pathname.open([mode [, perm]] [, opt]) {|file| block } -> obj
|
||||
*
|
||||
* Opens the file for reading or writing.
|
||||
*
|
||||
* See File.open.
|
||||
|
|
Loading…
Reference in a new issue