D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
RDoc
/
Encoding
/
Filename :
read_file-c.ri
back
Copy
U:RDoc::AnyMethod[iI"read_file:ETI"RDoc::Encoding::read_file;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"MReads the contents of +filename+ and handles any encoding directives in ;TI"the file.;To:RDoc::Markup::BlankLine o; ; [I"MThe content will be converted to the +encoding+. If the file cannot be ;TI"Bconverted a warning will be printed and nil will be returned.;T@o; ; [I"JIf +force_transcode+ is true the document will be transcoded and any ;TI"Gunknown character in the target encoding will be replaced with '?';T: @fileI"lib/rdoc/encoding.rb;T:0@omit_headings_from_table_of_contents_below000[ I"2(filename, encoding, force_transcode = false);T@FI" Encoding;TcRDoc::NormalModule00