Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 216.73.216.155
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby18 /
share /
ri /
1.8 /
system /
CSV /
Delete
Unzip
Name
Size
Permission
Date
Action
BasicWriter
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
Cell
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
IOBuf
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
IOReader
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
IllegalFormatError
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
Reader
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
Row
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
StreamBuf
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
StringReader
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
Writer
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
cdesc-CSV.yaml
1.18
KB
-rw-r--r--
2023-07-26 13:47
foreach-c.yaml
187
B
-rw-r--r--
2023-07-26 13:47
generate-c.yaml
199
B
-rw-r--r--
2023-07-26 13:47
generate_body-c.yaml
199
B
-rw-r--r--
2023-07-26 13:47
generate_line-c.yaml
296
B
-rw-r--r--
2023-07-26 13:47
generate_row-c.yaml
1.4
KB
-rw-r--r--
2023-07-26 13:47
generate_separator-c.yaml
209
B
-rw-r--r--
2023-07-26 13:47
open-c.yaml
2.28
KB
-rw-r--r--
2023-07-26 13:47
open_reader-c.yaml
217
B
-rw-r--r--
2023-07-26 13:47
open_writer-c.yaml
223
B
-rw-r--r--
2023-07-26 13:47
parse-c.yaml
333
B
-rw-r--r--
2023-07-26 13:47
parse_body-c.yaml
188
B
-rw-r--r--
2023-07-26 13:47
parse_line-c.yaml
570
B
-rw-r--r--
2023-07-26 13:47
parse_row-c.yaml
1.51
KB
-rw-r--r--
2023-07-26 13:47
read-c.yaml
191
B
-rw-r--r--
2023-07-26 13:47
readlines-c.yaml
183
B
-rw-r--r--
2023-07-26 13:47
Save
Rename
--- !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