別のキーワード
ライブラリ
- ビルトイン (84)
- csv (72)
- openssl (24)
-
rexml
/ document (12)
クラス
- CSV (48)
-
CSV
:: Row (12) -
CSV
:: Table (12) - File (60)
-
OpenSSL
:: ASN1 :: PrintableString (24) -
REXML
:: Element (12) -
RubyVM
:: InstructionSequence (24)
キーワード
- disasm (12)
- disassemble (12)
- executable? (12)
-
executable
_ real? (12) - new (72)
- read (12)
- readlines (12)
-
world
_ writable? (12) - writable? (12)
-
writable
_ real? (12)
検索結果
先頭5件
- OpenSSL
:: ASN1 :: PrintableString . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: PrintableString - CSV
. read(path , options = Hash . new) -> [Array] | CSV :: Table - CSV
. readlines(path , options = Hash . new) -> [Array] | CSV :: Table - CSV
:: Row . new(headers , fields , header _ row = false) -> CSV :: Row - REXML
:: Element . new(arg = UNDEFINED , parent = nil , context = nil) -> REXML :: Element
-
OpenSSL
:: ASN1 :: PrintableString . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: PrintableString (3125.0) -
ASN.1 の PrintableString 型の値を表現する OpenSSL::ASN1::PrintableString オブジェクトを 生成します。
...ASN.1 の PrintableString 型の値を表現する OpenSSL::ASN1::PrintableString オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::PRINTABLESTRING となります。
@param value ASN.1 値を表す Ruby......のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECIFIC, :APPLICATION, :PRIVATE のいずれか)... -
CSV
. read(path , options = Hash . new) -> [Array] | CSV :: Table (161.0) -
CSV ファイルを配列の配列にするために使います。 headers オプションに偽でない値を指定した場合は CSV::Table オブジェクトを返します。
...めに使います。
headers オプションに偽でない値を指定した場合は CSV::Table オブジェクトを返します。
@param path CSV ファイルのパスを指定します。
@param options CSV.new のオプションと同じオプションを指定できます。......<CSV)
id,first name,last name,age
1,taro,tanaka,20
2,jiro,suzuki,18
3,ami,sato,19
4,yumi,adachi,21
CSV
table = CSV.read("test.csv", headers: true)
p table.class # => CSV::Table
p table[0] # => #<CSV::Row "id":"1" "first name":"taro" "last name":"tanaka" "age":"20">
//}
@see CSV.new, CSV.table... -
CSV
. readlines(path , options = Hash . new) -> [Array] | CSV :: Table (161.0) -
CSV ファイルを配列の配列にするために使います。 headers オプションに偽でない値を指定した場合は CSV::Table オブジェクトを返します。
...めに使います。
headers オプションに偽でない値を指定した場合は CSV::Table オブジェクトを返します。
@param path CSV ファイルのパスを指定します。
@param options CSV.new のオプションと同じオプションを指定できます。......<CSV)
id,first name,last name,age
1,taro,tanaka,20
2,jiro,suzuki,18
3,ami,sato,19
4,yumi,adachi,21
CSV
table = CSV.read("test.csv", headers: true)
p table.class # => CSV::Table
p table[0] # => #<CSV::Row "id":"1" "first name":"taro" "last name":"tanaka" "age":"20">
//}
@see CSV.new, CSV.table... -
CSV
:: Row . new(headers , fields , header _ row = false) -> CSV :: Row (55.0) -
自身を初期化します。
...の配列よりも短い場合、不足しているところは nil になります。
@param headers ヘッダの配列を指定します。
@param fields フィールドの配列を指定します。
@param header_row ヘッダ行である場合は真を指定します。そうでない場合......)
table = CSV::Table.new([header])
table.to_a # => [["header1", "header2"]]
//}
//emlist[例 header_row = false のケース][ruby]{
require "csv"
row1 = CSV::Row.new(["header1", "header2"], ["row1_1", "row1_2"])
row2 = CSV::Row.new(["header1", "header2"], ["row2_1", "row2_2"])
table = CSV::Table.......new([row1, row2])
table.to_a # => [["header1", "header2"], ["row1_1", "row1_2"], ["row2_1", "row2_2"]]
//}
@see CSV::Row#header_row?, CSV::Row#field_row?... -
REXML
:: Element . new(arg = UNDEFINED , parent = nil , context = nil) -> REXML :: Element (25.0) -
要素オブジェクトを生成します。
...要素の名前、属性、context が arg のもので初期化されます。
parent で親ノードを指定します。
context には hash table で要素のコンテキストを指定します。
基本的には text node (REXML::Text) での特別な文字、特に空白について
の取......一切変換されません。
REXML::Element#raw も参照してください。
@param arg 要素の名前(String)もしくは初期化に使う REXML::Element
オブジェクト
@param parent 親ノード
@param context コンテキスト(Hash)
@see REXML::Parent.new, REXML::Child.new... -
CSV
. new(data , options = Hash . new) -> CSV (19.0) -
このメソッドは CSV ファイルを読み込んだり、書き出したりするために String か IO のインスタンスをラップします。
...O を渡してください。
@param data String か IO のインスタンスを指定します。
String のインスタンスを指定した場合、CSV#string を使用して
後からデータを取り出すことが出来ます。
@param options CSV をパースする......返り値を配列のかわりに CSV::Row のインスタンスに変更します。
CSV#read の返り値を配列の配列のかわりに CSV::Table のイン
スタンスに変更します。
: :return_headers
偽を指定すると、ヘッダ行を無視します。真を指定すると... -
RubyVM
:: InstructionSequence . disasm(body) -> String (19.0) -
引数 body で指定したオブジェクトから作成した RubyVM::InstructionSequence オブジェクトを人間が読める形式の文字 列に変換して返します。
...ェクトから作成した
RubyVM::InstructionSequence オブジェクトを人間が読める形式の文字
列に変換して返します。
@param body Proc、Method オブジェクトを指定します。
例1:Proc オブジェクトを指定した場合
# /tmp/proc.rb
p = proc { num =......ock in <main>@/tmp/proc.rb>===
== catch table
| catch type: redo st: 0000 ed: 0012 sp: 0000 cont: 0000
| catch type: next st: 0000 ed: 0012 sp: 0000 cont: 0012
|------------------------------------------------------------------------
local table (size: 2, argc: 0 [opts: 0, rest: -1, po... -
RubyVM
:: InstructionSequence . disassemble(body) -> String (19.0) -
引数 body で指定したオブジェクトから作成した RubyVM::InstructionSequence オブジェクトを人間が読める形式の文字 列に変換して返します。
...ェクトから作成した
RubyVM::InstructionSequence オブジェクトを人間が読める形式の文字
列に変換して返します。
@param body Proc、Method オブジェクトを指定します。
例1:Proc オブジェクトを指定した場合
# /tmp/proc.rb
p = proc { num =......ock in <main>@/tmp/proc.rb>===
== catch table
| catch type: redo st: 0000 ed: 0012 sp: 0000 cont: 0000
| catch type: next st: 0000 ed: 0012 sp: 0000 cont: 0012
|------------------------------------------------------------------------
local table (size: 2, argc: 0 [opts: 0, rest: -1, po...