1404件ヒット
[1401-1404件を表示]
(0.152秒)
ライブラリ
- ビルトイン (958)
- csv (36)
- delegate (36)
- fiddle (24)
-
fiddle
/ import (12) -
irb
/ context (12) -
json
/ add / symbol (12) - matrix (26)
-
net
/ http (12) -
net
/ smtp (12) - openssl (60)
- ostruct (12)
- pathname (36)
-
rdoc
/ markup (12) -
rexml
/ document (12) -
rexml
/ parsers / sax2parser (60) -
rubygems
/ config _ file (12) -
rubygems
/ installer (12) - shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) - uri (12)
クラス
-
ARGF
. class (10) - Binding (36)
- CSV (36)
- Delegator (36)
-
Encoding
:: Converter (48) -
Fiddle
:: Handle (24) -
File
:: Stat (12) -
Gem
:: ConfigFile (12) -
Gem
:: Installer (12) - Hash (20)
- IO (12)
-
IRB
:: Context (12) - MatchData (1)
- Matrix (26)
- Method (12)
- Module (172)
-
Net
:: HTTP (12) -
Net
:: SMTP (12) - Object (108)
-
OpenSSL
:: ASN1 :: ASN1Data (12) -
OpenSSL
:: ASN1 :: Constructive (12) -
OpenSSL
:: ASN1 :: Primitive (12) -
OpenSSL
:: PKey :: EC :: Group (24) - OpenStruct (12)
- Pathname (36)
-
RDoc
:: Markup (12) -
REXML
:: Element (12) -
REXML
:: Parsers :: SAX2Parser (60) - Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - Symbol (407)
- Thread (12)
- TracePoint (36)
-
URI
:: Generic (12) - UnboundMethod (12)
モジュール
- Enumerable (72)
-
Fiddle
:: Importer (12)
キーワード
- <=> (12)
- == (12)
- =~ (12)
- [] (72)
- []= (12)
-
alias
_ method (4) - antisymmetric? (7)
- attr (12)
-
attr
_ accessor (4) -
attr
_ reader (4) -
attr
_ writer (4) -
callee
_ id (12) - capitalize (12)
- casecmp (12)
- casecmp? (9)
-
class
_ variables (12) - cleanpath (12)
- component (12)
- constants (12)
- context (12)
-
define
_ method (24) -
define
_ singleton _ method (24) - downcase (12)
- empty? (12)
- encoding (12)
-
end
_ with? (6) - event (12)
-
generate
_ bin _ symlink (12) -
get
_ line _ types (12) -
header
_ convert (36) - id2name (12)
-
import
_ symbol (12) - inject (36)
-
instance
_ methods (12) -
instance
_ variables (12) - intern (12)
- length (12)
- listen (60)
-
local
_ variable _ defined? (12) -
local
_ variable _ get (12) -
local
_ variable _ set (12) -
make
_ symlink (12) - match (12)
- match? (9)
-
method
_ id (12) - methods (24)
-
module
_ function (12) - name (5)
-
named
_ captures (1) -
new
_ ostruct _ member (12) - next (12)
-
original
_ name (24) -
point
_ conversion _ form (12) -
point
_ conversion _ form= (12) -
primitive
_ convert (48) - private (12)
-
private
_ instance _ methods (12) -
private
_ methods (12) -
prompt
_ mode (12) - protected (12)
-
protected
_ instance _ methods (12) -
protected
_ methods (24) - public (12)
-
public
_ instance _ methods (12) -
public
_ methods (24) -
read
_ nonblock (22) - reduce (36)
-
respond
_ to _ missing? (12) -
singleton
_ methods (12) - size (12)
-
skew
_ symmetric? (7) - slice (60)
-
ssl
_ version (12) -
start
_ with? (6) - starttls? (12)
- succ (12)
- swapcase (12)
- symlink (18)
- symlink? (42)
- symmetric? (12)
-
tag
_ class (12) - tagging (24)
-
to
_ json (12) -
to
_ proc (12) -
to
_ s (12) -
to
_ sym (12) -
transform
_ keys! (20) - upcase (12)
- verbose (12)
検索結果
-
CSV
# header _ convert(name) (19.0) -
CSV#convert に似ていますが、ヘッダ行用のメソッドです。
...込む前に呼び出さなければなりません。
@param name 変換器の名前を指定します。
//emlist[例 name を指定][ruby]{
require "csv"
csv = CSV.new("header1,header2\nrow1_1,row1_2", headers: true)
csv.header_convert(:symbol)
csv.first.headers # => [:header1, :header2]
//}......//emlist[例 ブロックを指定][ruby]{
require "csv"
csv = CSV.new("header1,header2\nrow1_1,row1_2", headers: true)
csv.header_convert do |field|
field.to_sym
end
csv.first.headers # => [:header1, :header2]
//}
@see CSV#header_converters, CSV#convert...