るりまサーチ (Ruby 2.5.0)

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

別のキーワード

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

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 > >>

RSS::Rss::Channel#item (81610.0)

@todo

@todo

Benchmark::Job#item(label = "") { ... } -> self (72907.0)

与えられたラベルとブロックをジョブリストに登録します。

与えられたラベルとブロックをジョブリストに登録します。

@param label ラベル

Benchmark::Report#item(label = "", *fmt) { ... } -> Benchmark::Tms (72907.0)

ラベルと与えられたブロックの実行時間を標準出力に出力します。

ラベルと与えられたブロックの実行時間を標準出力に出力します。

出力のフォーマットは Benchmark::Tms#format が行います。

@param label ラベル
@param fmt 結果に出力したいオブジェクト

@see Benchmark::Tms#format

RSS::Maker::RSS20::Items::Item::Guid#isPermaLink (63604.0)

@todo

@todo

RSS::Maker::RSS20::Items::Item::Guid#isPermaLink=() (63604.0)

@todo

@todo

絞り込み条件を変える

RSS::ImageItemModel::ImageItem#height (63304.0)

@todo

@todo

RSS::ImageItemModel::ImageItem#height= (63304.0)

@todo

@todo

RSS::ImageItemModel::ImageItem#image_height (63304.0)

@todo

@todo

RSS::ImageItemModel::ImageItem#image_height= (63304.0)

@todo

@todo

RSS::ImageItemModel#image_item (54610.0)

@todo

@todo

絞り込み条件を変える

RSS::ImageItemModel#image_item= (54610.0)

@todo

@todo

RSS::Maker::ItemsBase::ItemBase#title (54604.0)

@todo

@todo

RSS::Maker::ItemsBase::ItemBase#title=() (54604.0)

@todo

@todo

RSS::Maker::RSS20::Items::Item::Enclosure#length (54604.0)

@todo

@todo

RSS::Maker::RSS20::Items::Item::Enclosure#length=() (54604.0)

@todo

@todo

絞り込み条件を変える

RSS::ImageItemModel::ImageItem#date (54304.0)

@todo

@todo

RSS::ImageItemModel::ImageItem#date= (54304.0)

@todo

@todo

RSS::ImageItemModel::ImageItem#image_width (54304.0)

@todo

@todo

RSS::ImageItemModel::ImageItem#image_width= (54304.0)

@todo

@todo

RSS::ImageItemModel::ImageItem#resource (54304.0)

@todo

@todo

絞り込み条件を変える

RSS::ImageItemModel::ImageItem#resource= (54304.0)

@todo

@todo

Enumerable#collect {|item| ... } -> [object] (46210.0)

各要素に対してブロックを評価した結果を全て含む配列を返します。

各要素に対してブロックを評価した結果を全て含む配列を返します。

ブロックを省略した場合は Enumerator を返します。

//emlist[例][ruby]{
# すべて 3 倍にした配列を返す
p (1..3).map {|n| n * 3 } # => [3, 6, 9]
p (1..3).collect { "cat" } # => ["cat", "cat", "cat"]
//}

@see Array#collect, Array#map

Net::IMAP#getacl(mailbox) -> [Net::IMAP::MailboxACLItem] (46204.0)

GETACL コマンドを送り、メールボックスの ACL(Access Control List) を取得します。

GETACL コマンドを送り、メールボックスの
ACL(Access Control List) を取得します。

Net::IMAP#getacl で指定したメールボックスに
対し何らかの権限を持つ各ユーザに対して
Net::IMAP::MailboxACLItem オブジェクトが
作られ、その配列が返されます。

GETACL コマンドは 2086 で定義されています。
詳しくはそちらを参照してください。

@param mailbox メールボックス名(文字列)
@see Net::IMAP::MailboxACLItem

Enumerable#collect -> Enumerator (45610.0)

各要素に対してブロックを評価した結果を全て含む配列を返します。

各要素に対してブロックを評価した結果を全て含む配列を返します。

ブロックを省略した場合は Enumerator を返します。

//emlist[例][ruby]{
# すべて 3 倍にした配列を返す
p (1..3).map {|n| n * 3 } # => [3, 6, 9]
p (1..3).collect { "cat" } # => ["cat", "cat", "cat"]
//}

@see Array#collect, Array#map

RSS::Rss::Channel#item= (45610.0)

@todo

@todo

絞り込み条件を変える

RSS::Maker::ItemsBase::ItemBase#enclosure (45604.0)

@todo

@todo

RSS::RDF::Channel#items (45604.0)

@todo

@todo

RSS::RDF::Channel#items= (45604.0)

@todo

@todo

RSS::RDF::Channel::Items#resources (45604.0)

@todo

@todo

RSS::RDF::Item#title (45604.0)

@todo

@todo

絞り込み条件を変える

RSS::RDF::Item#title= (45604.0)

@todo

@todo

RSS::Rss::Channel#items (45604.0)

@todo

@todo

RSS::Rss::Channel::Item#enclosure (45604.0)

@todo

@todo

RSS::Rss::Channel::Item#enclosure= (45604.0)

@todo

@todo

RSS::Rss::Channel::Item#title (45604.0)

@todo

@todo

絞り込み条件を変える

RSS::Rss::Channel::Item#title= (45604.0)

@todo

@todo

RSS::Rss::Channel::Item::Enclosure#length (45604.0)

@todo

@todo

RSS::Rss::Channel::Item::Enclosure#length= (45604.0)

@todo

@todo

RSS::Rss::Channel::Item::Guid#isPermaLink (45604.0)

@todo

@todo

* http://purl.org/dc/elements/1.1/

RSS::Maker::ItemsBase::ItemBase#link (45304.0)

@todo

@todo

絞り込み条件を変える

RSS::Maker::ItemsBase::ItemBase#link=() (45304.0)

@todo

@todo

RSS::Maker::RSS20::Items::Item::Enclosure#type (45304.0)

@todo

@todo

RSS::Maker::RSS20::Items::Item::Enclosure#type=() (45304.0)

@todo

@todo

RSS::Maker::RSS20::Items::Item::Enclosure#url (45304.0)

@todo

@todo

RSS::Maker::RSS20::Items::Item::Enclosure#url=() (45304.0)

@todo

@todo

絞り込み条件を変える

RSS::Maker::RSS20::Items::Item::Source#url (45304.0)

@todo

@todo

RSS::Maker::RSS20::Items::Item::Source#url=() (45304.0)

@todo

@todo

RSS::ImageItemModel::ImageItem#about (45004.0)

@todo

@todo

RSS::ImageItemModel::ImageItem#about= (45004.0)

@todo

@todo

RSS::ImageItemModel::ImageItem#width (45004.0)

@todo

@todo

絞り込み条件を変える

RSS::ImageItemModel::ImageItem#width= (45004.0)

@todo

@todo

Array#select! {|item| block } -> self | nil (37243.0)

ブロックが真を返した要素を残し、偽を返した要素を自身から削除します。 変更があった場合は self を、 変更がなかった場合には nil を返します。

ブロックが真を返した要素を残し、偽を返した要素を自身から削除します。
変更があった場合は self を、
変更がなかった場合には nil を返します。

//emlist[例][ruby]{
a = %w{ a b c d e f }
a.select! {|v| v =~ /[a-z]/ } # => nil
a # => ["a", "b", "c", "d", "e", "f"]
//}

ブロックが与えられなかった場合は、自身と select! から生成した
Enumerator オブジェクトを返します。

@see Array#keep_if, Array#reject!

Array#collect {|item| ... } -> [object] (37210.0)

各要素に対してブロックを評価した結果を全て含む配列を返します。

各要素に対してブロックを評価した結果を全て含む配列を返します。

ブロックを省略した場合は Enumerator を返します。

//emlist[例][ruby]{
# すべて 3 倍にする
p [1, 2, 3].map {|n| n * 3 } # => [3, 6, 9]
//}

@see Enumerable#collect, Enumerable#map

Enumerator::Lazy#take_while {|item| ... } -> Enumerator::Lazy (36979.0)

Enumerable#take_while と同じですが、配列ではなくEnumerator::Lazy を返します。

Enumerable#take_while と同じですが、配列ではなくEnumerator::Lazy を返します。

//emlist[例][ruby]{
1.step.lazy.zip(('a'..'z').cycle).take_while { |e| e.first < 100_000 }
# => #<Enumerator::Lazy: #<Enumerator::Lazy: #<Enumerator::Lazy: #<Enumerator: 1:step>>:zip(#<Enumerator: "a".."z":cycle>)>:take_while>

1.step.lazy....

Array#collect! {|item| ..} -> self (36946.0)

各要素を順番にブロックに渡して評価し、その結果で要素を 置き換えます。

各要素を順番にブロックに渡して評価し、その結果で要素を
置き換えます。

ブロックが与えられなかった場合は、自身と map! から生成した
Enumerator オブジェクトを返します。

//emlist[例][ruby]{
ary = [1, 2, 3]
ary.map! {|i| i * 3 }
p ary #=> [3, 6, 9]

ary = [1, 2, 3]
e = ary.map!
e.each{ 1 }
p ary #=> [1, 1, 1]
//}

@see Array#collect, Enumerator

絞り込み条件を変える

Enumerable#select {|item| ... } -> [object] (36910.0)

各要素に対してブロックを評価した値が真であった要素を全て含む配列を 返します。真になる要素がひとつもなかった場合は空の配列を返します。

各要素に対してブロックを評価した値が真であった要素を全て含む配列を
返します。真になる要素がひとつもなかった場合は空の配列を返します。

ブロックを省略した場合は Enumerator を返します。

//emlist[例][ruby]{
(1..10).find_all # => #<Enumerator: 1..10:find_all>
(1..10).find_all { |i| i % 3 == 0 } # => [3, 6, 9]

[1,2,3,4,5].select # => #<E...

Enumerator::Lazy#collect {|item| ... } -> Enumerator::Lazy (36910.0)

Enumerable#map と同じですが、配列ではなくEnumerator::Lazy を返します。

Enumerable#map と同じですが、配列ではなくEnumerator::Lazy を返します。

@raise ArgumentError ブロックを指定しなかった場合に発生します。

//emlist[例][ruby]{
1.step.lazy.map{ |n| n % 3 == 0 }
# => #<Enumerator::Lazy: #<Enumerator::Lazy: #<Enumerator: 1:step>>:map>

1.step.lazy.collect{ |n| n.succ }.take(10).force
# => [2, 3, 4, 5, 6, 7, 8,...

Enumerator::Lazy#collect_concat {|item| ... } -> Enumerator::Lazy (36910.0)

ブロックの実行結果をひとつに繋げたものに対してイテレートするような Enumerator::Lazy のインスタンスを返します。

ブロックの実行結果をひとつに繋げたものに対してイテレートするような
Enumerator::Lazy のインスタンスを返します。

//emlist[][ruby]{
["foo", "bar"].lazy.flat_map {|i| i.each_char.lazy}.force
#=> ["f", "o", "o", "b", "a", "r"]
//}

ブロックの返した値 x は、以下の場合にのみ分解され、連結されます。

* x が配列であるか、to_ary メソッドを持つとき
* x が each および force メソッドを持つ (例:Enumerator::Lazy) ...

Enumerator::Lazy#select {|item| ... } -> Enumerator::Lazy (36910.0)

Enumerable#select と同じですが、配列ではなくEnumerator::Lazy を返します。

Enumerable#select と同じですが、配列ではなくEnumerator::Lazy を返します。

@raise ArgumentError ブロックを指定しなかった場合に発生します。

//emlist[例][ruby]{
1.step.lazy.find_all { |i| i.even? }
# => #<Enumerator::Lazy: #<Enumerator::Lazy: #<Enumerator: 1:step>>:find_all>

1.step.lazy.select { |i| i.even? }.take(10).force
# => [2, 4, 6,...

Array#select {|item| ... } -> [object] (36907.0)

各要素に対してブロックを評価した値が真であった要素を全て含む配列を 返します。真になる要素がひとつもなかった場合は空の配列を返します。

各要素に対してブロックを評価した値が真であった要素を全て含む配列を
返します。真になる要素がひとつもなかった場合は空の配列を返します。

ブロックを省略した場合は Enumerator を返します。

//emlist[例][ruby]{
[1,2,3,4,5].select # => #<Enumerator: [1, 2, 3, 4, 5]:select>
[1,2,3,4,5].select { |num| num.even? } # => [2, 4]
//}
@see Enumerable#select
@see Array#select...

絞り込み条件を変える

Enumerator::Lazy#drop_while {|item| ... } -> Enumerator::Lazy (36907.0)

Enumerable#drop_while と同じですが、配列ではなくEnumerator::Lazy を返します。

Enumerable#drop_while と同じですが、配列ではなくEnumerator::Lazy を返します。

//emlist[例][ruby]{
1.step.lazy.drop_while { |i| i < 42 }
# => #<Enumerator::Lazy: #<Enumerator::Lazy: #<Enumerator: 1:step>>:drop_while>

1.step.lazy.drop_while { |i| i < 42 }.take(10).force
# => [42, 43, 44, 45, 46, 47, 48, 49, 50, 51]
//...

Enumerator::Lazy#take_while -> Enumerator::Lazy (36679.0)

Enumerable#take_while と同じですが、配列ではなくEnumerator::Lazy を返します。

Enumerable#take_while と同じですが、配列ではなくEnumerator::Lazy を返します。

//emlist[例][ruby]{
1.step.lazy.zip(('a'..'z').cycle).take_while { |e| e.first < 100_000 }
# => #<Enumerator::Lazy: #<Enumerator::Lazy: #<Enumerator::Lazy: #<Enumerator: 1:step>>:zip(#<Enumerator: "a".."z":cycle>)>:take_while>

1.step.lazy....

Array#collect! -> Enumerator (36646.0)

各要素を順番にブロックに渡して評価し、その結果で要素を 置き換えます。

各要素を順番にブロックに渡して評価し、その結果で要素を
置き換えます。

ブロックが与えられなかった場合は、自身と map! から生成した
Enumerator オブジェクトを返します。

//emlist[例][ruby]{
ary = [1, 2, 3]
ary.map! {|i| i * 3 }
p ary #=> [3, 6, 9]

ary = [1, 2, 3]
e = ary.map!
e.each{ 1 }
p ary #=> [1, 1, 1]
//}

@see Array#collect, Enumerator

Array#select! -> Enumerator (36643.0)

ブロックが真を返した要素を残し、偽を返した要素を自身から削除します。 変更があった場合は self を、 変更がなかった場合には nil を返します。

ブロックが真を返した要素を残し、偽を返した要素を自身から削除します。
変更があった場合は self を、
変更がなかった場合には nil を返します。

//emlist[例][ruby]{
a = %w{ a b c d e f }
a.select! {|v| v =~ /[a-z]/ } # => nil
a # => ["a", "b", "c", "d", "e", "f"]
//}

ブロックが与えられなかった場合は、自身と select! から生成した
Enumerator オブジェクトを返します。

@see Array#keep_if, Array#reject!

Array#collect -> Enumerator (36610.0)

各要素に対してブロックを評価した結果を全て含む配列を返します。

各要素に対してブロックを評価した結果を全て含む配列を返します。

ブロックを省略した場合は Enumerator を返します。

//emlist[例][ruby]{
# すべて 3 倍にする
p [1, 2, 3].map {|n| n * 3 } # => [3, 6, 9]
//}

@see Enumerable#collect, Enumerable#map

絞り込み条件を変える

Enumerable#select -> Enumerator (36610.0)

各要素に対してブロックを評価した値が真であった要素を全て含む配列を 返します。真になる要素がひとつもなかった場合は空の配列を返します。

各要素に対してブロックを評価した値が真であった要素を全て含む配列を
返します。真になる要素がひとつもなかった場合は空の配列を返します。

ブロックを省略した場合は Enumerator を返します。

//emlist[例][ruby]{
(1..10).find_all # => #<Enumerator: 1..10:find_all>
(1..10).find_all { |i| i % 3 == 0 } # => [3, 6, 9]

[1,2,3,4,5].select # => #<E...

Array#select -> Enumerator (36607.0)

各要素に対してブロックを評価した値が真であった要素を全て含む配列を 返します。真になる要素がひとつもなかった場合は空の配列を返します。

各要素に対してブロックを評価した値が真であった要素を全て含む配列を
返します。真になる要素がひとつもなかった場合は空の配列を返します。

ブロックを省略した場合は Enumerator を返します。

//emlist[例][ruby]{
[1,2,3,4,5].select # => #<Enumerator: [1, 2, 3, 4, 5]:select>
[1,2,3,4,5].select { |num| num.even? } # => [2, 4]
//}
@see Enumerable#select
@see Array#select...

Net::IMAP::MailboxACLItem#user -> String (36304.0)

ユーザ名を返します。

ユーザ名を返します。

このユーザは
Net::IMAP#getacl で指定したメールボックスに
対し何らかの権限を持っています。

RSS::RDF::Item#link (36304.0)

@todo

@todo

RSS::RDF::Item#link= (36304.0)

@todo

@todo

絞り込み条件を変える

RSS::Rss::Channel::Item#categories (36304.0)

@todo

@todo

RSS::Rss::Channel::Item#category (36304.0)

@todo

@todo

RSS::Rss::Channel::Item#category= (36304.0)

@todo

@todo

RSS::Rss::Channel::Item#comments (36304.0)

@todo

@todo

RSS::Rss::Channel::Item#comments= (36304.0)

@todo

@todo

絞り込み条件を変える

RSS::Rss::Channel::Item#date (36304.0)

@todo

@todo

RSS::Rss::Channel::Item#date= (36304.0)

@todo

@todo

RSS::Rss::Channel::Item#description (36304.0)

@todo

@todo

RSS::Rss::Channel::Item#description= (36304.0)

@todo

@todo

RSS::Rss::Channel::Item#link (36304.0)

@todo

@todo

絞り込み条件を変える

RSS::Rss::Channel::Item#link= (36304.0)

@todo

@todo

RSS::Rss::Channel::Item#pubDate (36304.0)

@todo

@todo

RSS::Rss::Channel::Item#pubDate= (36304.0)

@todo

@todo

RSS::Rss::Channel::Item#source (36304.0)

@todo

@todo

RSS::Rss::Channel::Item#source= (36304.0)

@todo

@todo

絞り込み条件を変える

RSS::Rss::Channel::Item::Category#content (36304.0)

@todo

@todo

RSS::Rss::Channel::Item::Category#content= (36304.0)

@todo

@todo

RSS::Rss::Channel::Item::Enclosure#type (36304.0)

@todo

@todo

RSS::Rss::Channel::Item::Enclosure#type= (36304.0)

@todo

@todo

RSS::Rss::Channel::Item::Enclosure#url (36304.0)

@todo

@todo

絞り込み条件を変える

RSS::Rss::Channel::Item::Enclosure#url= (36304.0)

@todo

@todo

RSS::Rss::Channel::Item::Source#content (36304.0)

@todo

@todo

RSS::Rss::Channel::Item::Source#content= (36304.0)

@todo

@todo

RSS::Rss::Channel::Item::Source#url (36304.0)

@todo

@todo

RSS::Rss::Channel::Item::Source#url= (36304.0)

@todo

@todo

絞り込み条件を変える

Enumerable#inject(init = self.first) {|result, item| ... } -> object (28282.0)

リストのたたみこみ演算を行います。

リストのたたみこみ演算を行います。

最初に初期値 init と self の最初の要素を引数にブロックを実行します。
2 回目以降のループでは、前のブロックの実行結果と
self の次の要素を引数に順次ブロックを実行します。
そうして最後の要素まで繰り返し、最後のブロックの実行結果を返します。

要素が存在しない場合は init を返します。

初期値 init を省略した場合は、
最初に先頭の要素と 2 番目の要素をブロックに渡します。
また要素が 1 つしかなければブロックを実行せずに最初の要素を返します。
要素がなければブロックを実行せずに nil を返します。

@param in...

Enumerator::Lazy#flat_map {|item| ... } -> Enumerator::Lazy (28210.0)

ブロックの実行結果をひとつに繋げたものに対してイテレートするような Enumerator::Lazy のインスタンスを返します。

ブロックの実行結果をひとつに繋げたものに対してイテレートするような
Enumerator::Lazy のインスタンスを返します。

//emlist[][ruby]{
["foo", "bar"].lazy.flat_map {|i| i.each_char.lazy}.force
#=> ["f", "o", "o", "b", "a", "r"]
//}

ブロックの返した値 x は、以下の場合にのみ分解され、連結されます。

* x が配列であるか、to_ary メソッドを持つとき
* x が each および force メソッドを持つ (例:Enumerator::Lazy) ...

Enumerable#reduce(init = self.first) {|result, item| ... } -> object (27982.0)

リストのたたみこみ演算を行います。

リストのたたみこみ演算を行います。

最初に初期値 init と self の最初の要素を引数にブロックを実行します。
2 回目以降のループでは、前のブロックの実行結果と
self の次の要素を引数に順次ブロックを実行します。
そうして最後の要素まで繰り返し、最後のブロックの実行結果を返します。

要素が存在しない場合は init を返します。

初期値 init を省略した場合は、
最初に先頭の要素と 2 番目の要素をブロックに渡します。
また要素が 1 つしかなければブロックを実行せずに最初の要素を返します。
要素がなければブロックを実行せずに nil を返します。

@param in...

Enumerable#detect(ifnone = nil) {|item| ... } -> object (27946.0)

要素に対してブロックを評価した値が真になった最初の要素を返します。

要素に対してブロックを評価した値が真になった最初の要素を返します。

真になる要素が見つからず、ifnone も指定されていないときは nil を返します。
真になる要素が見つからず、ifnone が指定されているときは ifnone を call した結果を返します。

ブロックを省略した場合は Enumerator を返します。

@param ifnone call メソッドを持つオブジェクト (例えば Proc) を指定します。

//emlist[例][ruby]{
# 最初の 3 の倍数を探す
p [1, 2, 3, 4, 5].find {|i| i % 3 == 0 } ...

Enumerable#all? {|item| ... } -> bool (27925.0)

すべての要素が真である場合に true を返します。 偽である要素があれば、ただちに false を返します。

すべての要素が真である場合に true を返します。
偽である要素があれば、ただちに false を返します。

ブロックを伴う場合は、各要素に対してブロックを評価し、すべての結果
が真である場合に true を返します。ブロックが偽を返した時点で、
ただちに false を返します。

自身に要素が存在しない場合は true を返します。

@param pattern ブロックの代わりに各要素に対して pattern === item を評価します。

//emlist[例][ruby]{
require 'set'

# すべて正の数か?
p Set[5, 6, 7].all? {|...

絞り込み条件を変える

<< 1 2 > >>