$32 GRAYBYTE WORDPRESS FILE MANAGER $34

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby18/share/ri/1.8/system/CSV/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/CSV//open-c.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Open a CSV formatted file for reading or writing.
- !ruby/struct:SM::Flow::P 
  body: For reading.
- !ruby/struct:SM::Flow::P 
  body: EXAMPLE 1
- !ruby/struct:SM::Flow::VERB 
  body: "  CSV.open('csvfile.csv', 'r') do |row|\n    p row\n  end\n"
- !ruby/struct:SM::Flow::P 
  body: EXAMPLE 2
- !ruby/struct:SM::Flow::VERB 
  body: "  reader = CSV.open('csvfile.csv', 'r')\n  row1 = reader.shift\n  row2 = reader.shift\n  if row2.empty?\n    p 'row2 not find.'\n  end\n  reader.close\n"
- !ruby/struct:SM::Flow::P 
  body: ARGS
- !ruby/struct:SM::Flow::VERB 
  body: "  filename: filename to parse.\n  col_sep: Column separator.  ?, by default.  If you want to separate\n    fields with semicolon, give ?; here.\n  row_sep: Row separator.  nil by default.  nil means "\\r\\n or \\n".  If you\n    want to separate records with \\r, give ?\\r here.\n"
- !ruby/struct:SM::Flow::P 
  body: RETURNS
- !ruby/struct:SM::Flow::VERB 
  body: "  reader instance.  To get parse result, see CSV::Reader#each.\n"
- !ruby/struct:SM::Flow::P 
  body: For writing.
- !ruby/struct:SM::Flow::P 
  body: EXAMPLE 1
- !ruby/struct:SM::Flow::VERB 
  body: "  CSV.open('csvfile.csv', 'w') do |writer|\n    writer << ['r1c1', 'r1c2']\n    writer << ['r2c1', 'r2c2']\n    writer << [nil, nil]\n  end\n"
- !ruby/struct:SM::Flow::P 
  body: EXAMPLE 2
- !ruby/struct:SM::Flow::VERB 
  body: "  writer = CSV.open('csvfile.csv', 'w')\n  writer << ['r1c1', 'r1c2'] << ['r2c1', 'r2c2'] << [nil, nil]\n  writer.close\n"
- !ruby/struct:SM::Flow::P 
  body: ARGS
- !ruby/struct:SM::Flow::VERB 
  body: "  filename: filename to generate.\n  col_sep: Column separator.  ?, by default.  If you want to separate\n    fields with semicolon, give ?; here.\n  row_sep: Row separator.  nil by default.  nil means "\\r\\n or \\n".  If you\n    want to separate records with \\r, give ?\\r here.\n"
- !ruby/struct:SM::Flow::P 
  body: RETURNS
- !ruby/struct:SM::Flow::VERB 
  body: "  writer instance.  See CSV::Writer#<< and CSV::Writer#add_row to know how\n  to generate CSV string.\n"
full_name: CSV::open
is_singleton: true
name: open
params: (path, mode, fs = nil, rs = nil, &block)
visibility: public


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
BasicWriter
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Cell
--
3 Mar 2024 10.50 PM
root / linksafe
0755
IOBuf
--
3 Mar 2024 10.50 PM
root / linksafe
0755
IOReader
--
3 Mar 2024 10.50 PM
root / linksafe
0755
IllegalFormatError
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Reader
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Row
--
3 Mar 2024 10.50 PM
root / linksafe
0755
StreamBuf
--
3 Mar 2024 10.50 PM
root / linksafe
0755
StringReader
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Writer
--
3 Mar 2024 10.50 PM
root / linksafe
0755
cdesc-CSV.yaml
1.181 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
foreach-c.yaml
0.183 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
generate-c.yaml
0.194 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
generate_body-c.yaml
0.194 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
generate_line-c.yaml
0.289 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
generate_row-c.yaml
1.401 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
generate_separator-c.yaml
0.204 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
open-c.yaml
2.283 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
open_reader-c.yaml
0.212 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
open_writer-c.yaml
0.218 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
parse-c.yaml
0.325 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
parse_body-c.yaml
0.184 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
parse_line-c.yaml
0.557 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
parse_row-c.yaml
1.506 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
read-c.yaml
0.187 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
readlines-c.yaml
0.179 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF