るりまサーチ

最速Rubyリファレンスマニュアル検索!
517件ヒット [1-100件を表示] (0.153秒)

別のキーワード

  1. matrix l
  2. kernel $-l
  3. _builtin $-l
  4. lupdecomposition l

ライブラリ

キーワード

検索結果

<< 1 2 3 ... > >>

CSV#close -> nil (6102.0)

IO#close に委譲します。

...IO#close に委譲します。


@see IO#close...

CSV#close_read -> nil (6102.0)

IO#close_read に委譲します。

...IO#close_read に委譲します。


@see IO#close_read...

CSV#close_write -> nil (6102.0)

IO#close_write に委譲します。

...IO#close_write に委譲します。


@see IO#close_write...

CSV#closed? -> bool (6102.0)

IO#closed? に委譲します。

...IO#closed? に委譲します。


@see IO#closed?...

CSV#col_sep -> String (6102.0)

カラム区切り文字列として使用する文字列を返します。

...す。

//emlist[例][ruby]{
require "csv"

users =<<-EOS
id|first name|last name|age
1|taro|tanaka|20
2|jiro|suzuki|18
3|ami|sato|19
4|yumi|adachi|21
EOS

csv
= CSV.new(users, headers: true, col_sep: "|")
csv
.col_sep # => "|"
csv
.first.to_a # => [["id", "1"], ["first name", "taro"], ["last name", "...
...tanaka"], ["age", "20"]]

csv
= CSV.new(users, headers: true)
csv
.col_sep # => ","
csv
.first.to_a # => [["id|first name|last name|age", "1|taro|tanaka|20"]]
//}

@see CSV.new...

絞り込み条件を変える

CSV#external_encoding -> Encoding | nil (6102.0)

IO#external_encoding に委譲します。

...IO#external_encoding に委譲します。...

CSV#fcntl(cmd, arg = 0) -> Integer (6102.0)

IO#fcntl に委譲します。

...IO#fcntl に委譲します。...

CSV#field_size_limit -> Integer (6102.0)

フィールドサイズの最大値を返します。

...す。

//emlist[例][ruby]{
require "csv"

csv
= CSV.new(DATA)
csv
.field_size_limit # => nil
p csv.read # => [["a", "b"], ["\n2\n2\n", ""]]

DATA.rewind
csv
= CSV.new(DATA, field_size_limit: 4)
p csv.field_size_limit # => 4
csv
.read # => #<CSV::MalformedCSVError: Field size exceeded on line 2.>

__...
...END__
"a","b"
"
2
2
",""
//}

@see CSV.new...

CSV#fileno -> Integer (6102.0)

IO#fileno, IO#to_i に委譲します。

...IO#fileno, IO#to_i に委譲します。...

CSV#flock(operation) -> 0 | false (6102.0)

File#flock に委譲します。

...File#flock に委譲します。...

絞り込み条件を変える

<< 1 2 3 ... > >>