Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
CSV
/
//opt/alt/ruby21/share/ri/2.1.0/system/CSV/filter-c.ri
U:RDoc::AnyMethod[iI"filter:EFI"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"F(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"Bclever 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"Obe used in the +options+ Hash for the +input+ object. Keys starting with ;TI"O<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 = Hash.new ) { |row| ... } filter( input, options = Hash.new ) { |row| ... } filter( input, output, options = Hash.new ) { |row| ... } ;TI"row;T[ I"(*args);T@"FI"CSV;TcRDoc::NormalClass00