D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
File
/
Filename :
open-c.ri
back
Copy
U:RDoc::AnyMethod[iI" open:ETI"File::open;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"FCreates a new File object, via File.new with the given arguments.;To:RDoc::Markup::BlankLine o; ; [I"2With no block given, returns the File object.;T@o; ; [I">With a block given, calls the block with the File object ;TI"#and returns the block's value.;T: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"File.open(path, mode = 'r', perm = 0666, **opts) -> file File.open(path, mode = 'r', perm = 0666, **opts) {|f| ... } -> object ;T0[ I"(*args);T@FI" File;TcRDoc::NormalClass00