D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Tempfile
/
Filename :
open-c.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: (tempfile) comment: - !ruby/struct:SM::Flow::P body: If no block is given, this is a synonym for new(). - !ruby/struct:SM::Flow::P body: If a block is given, it will be passed tempfile as an argument, and the tempfile will automatically be closed when the block terminates. In this case, open() returns nil. full_name: Tempfile::open is_singleton: true name: open params: (*args) {|tempfile| ...} visibility: public