1656件ヒット
[1601-1656件を表示]
(0.084秒)
別のキーワード
ライブラリ
- ビルトイン (318)
-
cgi
/ core (24) -
cgi
/ html (264) - csv (28)
- dbm (72)
-
fiddle
/ import (24) - gdbm (48)
- json (24)
- matrix (98)
- openssl (120)
- optparse (144)
- prime (24)
- psych (12)
- rake (36)
-
rexml
/ document (84) -
rexml
/ streamlistener (12) -
rinda
/ tuplespace (12) - sdbm (48)
-
webrick
/ httputils (24) - win32ole (72)
-
yaml
/ dbm (72)
クラス
- Array (39)
- CGI (24)
-
CSV
:: Row (12) - DBM (72)
- File (12)
- GDBM (48)
- Hash (176)
-
JSON
:: State (24) - MatchData (16)
- Matrix (84)
- Module (12)
- Object (12)
-
OpenSSL
:: Config (48) -
OpenSSL
:: X509 :: ExtensionFactory (72) - OptionParser (144)
- Prime (24)
-
Psych
:: Handler (12) -
REXML
:: Attribute (12) -
REXML
:: Element (72) -
Rake
:: TaskArguments (36) -
Rinda
:: TupleEntry (12) - SDBM (48)
- String (24)
- Struct (12)
- Thread (12)
- Vector (14)
-
WEBrick
:: Cookie (96) -
WEBrick
:: HTTPUtils :: FormData (24) - WIN32OLE (48)
-
WIN32OLE
_ VARIANT (24) -
YAML
:: DBM (72)
モジュール
-
CGI
:: HtmlExtension (264) - Enumerable (19)
-
Fiddle
:: Importer (24) -
REXML
:: StreamListener (12)
キーワード
- [] (36)
- []= (50)
-
_ getproperty (12) -
_ setproperty (12) -
add
_ attribute (24) -
add
_ attributes (12) -
add
_ value (12) - bytebegin (2)
- byteend (2)
- checkbox (24)
-
checkbox
_ group (24) - coerce (12)
- comment (12)
- configure (12)
-
const
_ set (12) -
create
_ ext (12) -
create
_ ext _ from _ array (12) -
create
_ ext _ from _ hash (12) -
create
_ ext _ from _ string (12) -
create
_ extension (24) -
create
_ value (12) - domain (12)
- each (12)
-
each
_ element _ with _ attribute (12) - expires (12)
- fetch (48)
-
fetch
_ values (22) - filename (12)
-
find
_ index (36) - flock (12)
-
get
_ text (12) -
get
_ value (12) -
has
_ key? (12) -
has
_ value? (60) - header (12)
- hidden (24)
- include? (12)
- index (48)
-
instance
_ variable _ set (12) - key (48)
- key? (12)
-
max
_ age (12) - member? (12)
- merge (12)
- name (12)
-
new
_ scope (12) - on (144)
- out (12)
- pack (21)
-
parse
_ csv (12) -
password
_ field (24) - path (12)
- prime? (12)
-
prime
_ division (12) -
radio
_ group (24) - rassoc (12)
- reset (24)
- scalar (12)
-
scrolling
_ list (24) - secure (12)
- store (36)
- submit (24)
-
tag
_ start (12) - text (12)
-
text
_ field (24) -
to
_ csv (4) -
to
_ h (19) - unpack (12)
- update (12)
- value= (12)
- value? (48)
-
values
_ at (108) - version (12)
-
with
_ defaults (12) - write (12)
検索結果
先頭5件
-
REXML
:: Element # text(path = nil) -> String | nil (113.0) -
先頭のテキスト子ノードの文字列を返します。
...を返します。
REXML::Text#value も参照してください。
path を渡した場合は、その XPath 文字列で指定される
テキストノードの文字列を返します。
テキストノードがない場合には nil を返します。
@param path XPath文字列
@see REXML::El... -
Rinda
:: TupleEntry # fetch(key) -> object (113.0) -
タプルの key に対応する要素を返します。
...タプルの key に対応する要素を返します。
Rinda::TupleEntry#value.fetch(key) を返します。
@param key 要素を指定するキー
@see Rinda::TupleEntry#[]... -
String
# parse _ csv(**options) -> [String] (113.0) -
CSV.parse_line(self, options) と同様です。
...arse_line(self, options) と同様です。
1 行の CSV 文字列を、文字列の配列に変換するためのショートカットです。
@param options CSV.new と同様のオプションを指定します。
//emlist[][ruby]{
require "csv"
p "Matz,Ruby\n".parse_csv......by"]
//}
Ruby 2.6 (CSV 3.0.2) から、次のオプションが使えるようになりました。
//emlist[][ruby]{
require 'csv'
p "1,,3\n".parse_csv # => ["1", nil, "3"]
p "1,,3\n".parse_csv(nil_value: Float::NAN) # => ["1", NaN, "3"]
//}
@see CSV.new, CSV.parse_line......になりました。
//emlist[][ruby]{
require 'csv'
p "1,,3\n".parse_csv # => ["1", nil, "3"]
p "1,,3\n".parse_csv(nil_value: Float::NAN) # => ["1", NaN, "3"]
//}
Ruby 2.7 (CSV 3.1.2) から、次のオプションが使えるようになりました。
//emlist[][ruby]{... -
WIN32OLE
# each {|i| . . . } -> () (113.0) -
オブジェクトの列挙インターフェイスを呼び出してアイテム単位にブロックを 実行します。
...ッドは、このようなオブジェクトの列挙メソッドを
呼び出して、アイテム毎のイテレーションを行います。
@param i コレクション内のアイテム
@raise WIN32OLERuntimeError selfが列挙インターフェイスをサポートしてい......ない場合に通知します。
excel = WIN32OLE.new('Excel.Application')
book = excel.workbooks.add
sheets = book.worksheets(1)
cells = sheets.cells("A1:A5")
cells.each do |cell|
cell.value = 10
end
excel.Quit... -
CGI
# out(options = "text / html") { . . . . } (91.0) -
HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。
...場合は HTTP ヘッダのみを出力します。
charset が "iso-2022-jp"・"euc-jp"・"shift_jis" のいずれかで
ある場合は文字列エンコーディングを自動変換し、language を "ja"にします。
@param options Hash か文字列で HTTP ヘッダを生成するための......cgi = CGI.new
cgi.out{ "string" }
# Content-Type: text/html
# Content-Length: 6
#
# string
cgi.out("text/plain"){ "string" }
# Content-Type: text/plain
# Content-Length: 6
#
# string
cgi.out({"n......et" => "iso-2022-jp",
# Content-Type: text/html; charset=iso-2022-jp
"language" => "ja",
"expires" => Time.now + (3600 * 24 * 30),
"cookie" => [cookie1, cookie2],
"my_header1" => "my_value",... -
Vector
# []=(range , v) (19.0) -
Range オブジェクト range の範囲にある要素を v の内容に置換します。
...Range オブジェクト range の範囲にある要素を v の内容に置換します。
@param range 設定したい配列の範囲を Range オブジェクトで指定します。
@param v range の範囲に設定したい要素を指定します。
Vector や 1行の Matrix での......Matrix を指定し、次元が合わないときに発生します。
//emlist[][ruby]{
require 'matrix'
v = Vector[0, 0, 0, 0, 0]
v[1..2] = 5
p v #=> Vector[0, 5, 5, 0, 0]
v[1..3] = Vector[2, 4, 8]
p v #=> Vector[0, 2, 4, 8, 0]
v[1..-2] = Matrix[[3, 6, 9]]
p v #=> Vector[0, 3, 6, 9, 0]
//}...