⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.13
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
String
/
Edit File: each_line-i.ri
U:RDoc::AnyMethod[iI"each_line:ETI"String#each_line;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"BSplits <i>str</i> using the supplied parameter as the record ;TI"Gseparator (<code>$/</code> by default), passing each substring in ;TI"Gturn to the supplied block. If a zero-length record separator is ;TI"@supplied, the string is split into paragraphs delimited by ;TI""multiple successive newlines.;To:RDoc::Markup::BlankLine o; ; [I"LIf +chomp+ is +true+, +separator+ will be removed from the end of each ;TI" line.;T@o; ; [I"=If no block is given, an enumerator is returned instead.;T@o:RDoc::Markup::Verbatim; [!I"("hello\nworld".each_line {|s| p s} ;TI"# prints: ;TI"# "hello\n" ;TI"# "world" ;TI" ;TI"-"hello\nworld".each_line('l') {|s| p s} ;TI"# prints: ;TI"# "hel" ;TI" # "l" ;TI"# "o\nworl" ;TI" # "d" ;TI" ;TI"0"hello\n\n\nworld".each_line('') {|s| p s} ;TI"# prints ;TI"# "hello\n\n" ;TI"# "world" ;TI" ;TI"5"hello\nworld".each_line(chomp: true) {|s| p s} ;TI"# prints: ;TI"# "hello" ;TI"# "world" ;TI" ;TI":"hello\nworld".each_line('l', chomp: true) {|s| p s} ;TI"# prints: ;TI"# "he" ;TI"# "" ;TI"# "o\nwor" ;TI"# "d";T:@format0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"�str.each_line(separator=$/, chomp: false) {|substr| block } -> str str.each_line(separator=$/, chomp: false) -> an_enumerator ;T0[ I"(*args);T@8FI"String;TcRDoc::NormalClass00
Simpan