1171件ヒット
[1-100件を表示]
(0.092秒)
ライブラリ
クラス
- Array (56)
-
CSV
:: Table (12) - DBM (24)
- Data (6)
- Enumerator (24)
-
Fiddle
:: Pointer (12) - File (12)
- GDBM (24)
- Hash (244)
-
IRB
:: Inspector (12) -
JSON
:: State (24) - MatchData (12)
- Matrix (96)
-
Matrix
:: EigenvalueDecomposition (84) -
OpenSSL
:: X509 :: Extension (12) -
OpenSSL
:: X509 :: ExtensionFactory (72) - OpenStruct (38)
- PStore (12)
- Prime (24)
-
REXML
:: Attribute (12) -
REXML
:: CData (24) -
REXML
:: Text (36) -
Rake
:: TaskArguments (24) - SDBM (24)
- String (12)
- Struct (50)
- Thread (12)
- Vector (14)
-
Win32
:: Registry (84) -
YAML
:: DBM (12)
モジュール
-
CGI
:: HtmlExtension (24) -
CGI
:: QueryExtension :: Value (24) - Enumerable (19)
キーワード
- [] (12)
- []= (38)
-
buffer
_ initial _ length= (12) -
create
_ ext (12) -
create
_ ext _ from _ array (12) -
create
_ ext _ from _ hash (12) -
create
_ ext _ from _ string (12) -
create
_ extension (24) -
delete
_ if (36) -
descriptor
_ length (12) - each (24)
-
each
_ key (12) -
each
_ pair (48) -
each
_ value (12) - eigen (12)
- eigensystem (12)
-
eigenvector
_ matrix (12) -
eigenvector
_ matrix _ inv (12) - eigenvectors (12)
- filter (7)
- filter! (7)
-
find
_ index (36) - flock (12)
- index (36)
-
inspect
_ value (12) -
keep
_ if (12) -
max
_ key _ length (12) -
max
_ value _ length (12) -
max
_ value _ name _ length (12) -
next
_ values (12) -
num
_ keys (12) -
num
_ values (12) - pack (21)
-
peek
_ values (12) - prime? (12)
-
prime
_ division (12) - reject (60)
- reject! (24)
- select (12)
- select! (12)
- store (36)
-
to
_ a (48) -
to
_ ary (24) -
to
_ csv (4) -
to
_ h (98) -
to
_ hash (12) -
to
_ s (24) -
to
_ string (12) -
to
_ value (12) -
transform
_ values (18) -
transform
_ values! (18) - unpack (12)
- v (12)
-
v
_ inv (12) - value= (12)
- values (24)
-
values
_ at (24) -
with
_ defaults (12) - wtime (12)
検索結果
先頭5件
-
REXML
:: CData # value -> String (18121.0) -
テキスト文字列を返します。
...テキスト文字列を返します。
@see REXML::Text#value, REXML::Text#to_s
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root><![CDATA[foobar baz]]></root>
EOS
doc.root[0].class # => REXML::CData
doc.root[0].value # => "foobar baz"
//}... -
REXML
:: Text # value -> String (18120.0) -
テキストの内容を非正規化(すべての実体をアンエスケープ)された状態で返します。
...。
このメソッドの返り値では raw モードや entity_filter は無視されます。
@see REXML::Text#raw, REXML::Text#to_s
//emlist[][ruby]{
require 'rexml/document'
t = REXML::Text.new("< & foobar", false, nil, false)
t.to_s # => "< & foobar"
t.value # => "< & foobar"
//}... -
Fiddle
:: Pointer # to _ value -> object (12215.0) -
自身はヒープに確保された Ruby のオブジェクトを指すポインタであると仮定して、 自身が指すオブジェクトを返します。
...自身はヒープに確保された Ruby のオブジェクトを指すポインタであると仮定して、
自身が指すオブジェクトを返します。
例:
require 'fiddle'
s = 'abc'
i = Fiddle.dlwrap(s)
cptr = Fiddle::Pointer.new(i)
p cptr.to_value #=> "abc"... -
Matrix
:: EigenvalueDecomposition # eigenvectors -> [Vector] (9201.0) -
右固有ベクトルを配列で返します。
右固有ベクトルを配列で返します。 -
Enumerator
# next _ values -> Array (9113.0) -
「次」のオブジェクトを配列で返します。
...「次」のオブジェクトを配列で返します。
Enumerator#next とほぼ同様の挙動をします。終端まで到達した場合は
StopIteration 例外を発生させます。
このメソッドは、
yield
と
yield nil
を区別するために使えます。
next メソッ......values の違いを][ruby]{
o = Object.new
def o.each
yield
yield 1
yield 1, 2
yield nil
yield [1, 2]
end
e = o.to_enum
p e.next_values
p e.next_values
p e.next_values
p e.next_values
p e.next_values
e = o.to_enum
p e.next
p e.next
p e.next
p e.next
p e.next
## yield args next_value......[1] 1
# yield 1, 2 [1, 2] [1, 2]
# yield nil [nil] nil
# yield [1, 2] [[1, 2]] [1, 2]
//}
@raise StopIteration 列挙状態が既に最後へ到達しているとき
@see Enumerator#next, Enumerator#peek, Enumerator#peek_values... -
Enumerator
# peek _ values -> Array (9107.0) -
Enumerator#next_values のように「次」のオブジェクトを 配列で返しますが、列挙状態を変化させません。
...Enumerator#next_values のように「次」のオブジェクトを
配列で返しますが、列挙状態を変化させません。
Enumerator#next, Enumerator#next_values のように
現在までの列挙状態に応じて「次」のオブジェクトを返しますが、
next と異なり......場合は、StopIteration 例外を発生します。
このメソッドは Enumerator#next_values と同様
yield
と
yield nil
を区別するために使えます。
//emlist[例][ruby]{
o = Object.new
def o.each
yield
yield 1
yield 1, 2
end
e = o.to_enum
p e.peek_values #=> []
e.n......ext
p e.peek_values #=> [1]
p e.peek_values #=> [1]
e.next
p e.peek_values #=> [1, 2]
e.next
p e.peek_values # raises StopIteration
//}
@raise StopIteration 列挙状態が既に最後へ到達しているとき
@see Enumerator#next, Enumerator#next_values, Enumerator#peek_values... -
CGI
:: QueryExtension :: Value # to _ a -> Array (9103.0) -
@todo
...@todo... -
CGI
:: QueryExtension :: Value # to _ ary -> Array (9103.0) -
@todo
...@todo... -
Matrix
:: EigenvalueDecomposition # to _ a -> [Matrix , Matrix , Matrix] (9103.0) -
Matrix::EigenvalueDecomposition#v, Matrix::EigenvalueDecomposition#d, Matrix::EigenvalueDecomposition#v_inv をこの順に並べた配列を返します。
...Matrix::EigenvalueDecomposition#v,
Matrix::EigenvalueDecomposition#d,
Matrix::EigenvalueDecomposition#v_inv
をこの順に並べた配列を返します。...