⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
CSV
/
View File Name :
filter-c.ri
U:RDoc::AnyMethod[iI"filter:ETI"CSV::filter;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"OThis method is a convenience for building Unix-like filters for CSV data. ;TI"MEach row is yielded to the provided block which can alter it as needed. ;TI"MAfter the block returns, the row is appended to +output+ altered or not.;To:RDoc::Markup::BlankLine o; ; [I"KThe +input+ and +output+ arguments can be anything CSV::new() accepts ;TI"E(generally String or IO objects). If not given, they default to ;TI"(<tt>ARGF</tt> and <tt>$stdout</tt>.;T@o; ; [I"LThe +options+ parameter is also filtered down to CSV::new() after some ;TI"Aclever key parsing. Any key beginning with <tt>:in_</tt> or ;TI"O<tt>:input_</tt> will have that leading identifier stripped and will only ;TI"Nbe used in the +options+ Hash for the +input+ object. Keys starting with ;TI"N<tt>:out_</tt> or <tt>:output_</tt> affect only +output+. All other keys ;TI""are assigned to both objects.;T@o; ; [I"7The <tt>:output_row_sep</tt> +option+ defaults to ;TI"4<tt>$INPUT_RECORD_SEPARATOR</tt> (<tt>$/</tt>).;T: @fileI"lib/csv.rb;T:0@omit_headings_from_table_of_contents_below0I"|filter( **options ) { |row| ... } filter( input, **options ) { |row| ... } filter( input, output, **options ) { |row| ... } ;TI"row;T[ I"'(input=nil, output=nil, **options);T@"FI"CSV;TcRDoc::NormalClass00