971件ヒット
[201-300件を表示]
(0.076秒)
別のキーワード
ライブラリ
- ビルトイン (544)
- drb (12)
- erb (16)
- matrix (60)
-
minitest
/ spec (3) - mkmf (108)
- pathname (36)
- prime (72)
- rake (36)
-
rexml
/ document (36) -
rubygems
/ dependency _ installer (12) -
rubygems
/ source _ info _ cache (12) - win32ole (24)
クラス
-
DRb
:: DRbObject (12) - Data (3)
- ERB (16)
- Enumerator (48)
-
Enumerator
:: Lazy (12) -
Gem
:: DependencyInstaller (12) -
Gem
:: SourceInfoCache (12) - Hash (138)
- Matrix (48)
- Method (80)
- Module (25)
- Object (2)
- Pathname (36)
-
Prime
:: PseudoPrimeGenerator (72) - Proc (6)
-
REXML
:: Child (12) -
REXML
:: Element (24) -
Rake
:: TaskArguments (12) - Refinement (4)
- String (56)
- Symbol (12)
- Thread (18)
- Time (12)
- Vector (12)
-
WIN32OLE
_ EVENT (24)
モジュール
- Enumerable (131)
- FileUtils (12)
- Kernel (108)
-
Rake
:: TaskManager (12)
キーワード
- < (12)
- === (8)
- [] (12)
-
_ _ drbref (12) -
angle
_ with (12) - call (24)
-
check
_ signedness (24) - children (12)
- chunk (12)
- compact (4)
-
convertible
_ int (24) -
delete
_ prefix (8) -
delete
_ prefix! (8) -
delete
_ suffix (8) -
delete
_ suffix! (8) -
dir
_ config (12) - each (24)
-
each
_ child (24) -
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) -
each
_ with _ index (72) -
each
_ with _ object (24) -
end
_ with? (18) -
enhance
_ with _ matching _ rule (12) - filter! (14)
-
find
_ gems _ with _ sources (12) -
import
_ methods (4) -
infect
_ with _ assertions (1) -
keep
_ if (24) -
max
_ by (48) -
must
_ be _ within _ delta (1) -
must
_ be _ within _ epsilon (1) - name (12)
-
on
_ event (12) -
on
_ event _ with _ outargs (12) - owner (12)
- receiver (12)
-
replace
_ with (12) -
report
_ on _ exception (9) -
report
_ on _ exception= (9) - result (8)
-
result
_ with _ hash (8) -
ruby2
_ keywords (18) -
search
_ with _ source (12) - select! (24)
- sh (12)
-
start
_ with? (18) - strftime (12)
-
to
_ h (19) -
transform
_ keys (20) -
transform
_ keys! (20) -
transform
_ values (18) -
transform
_ values! (18) -
with
_ config (24) -
with
_ defaults (12) -
with
_ index (60) -
with
_ object (48) -
with
_ werror (24)
検索結果
先頭5件
- Enumerable
# each _ with _ object(obj) {|(*args) , memo _ obj| . . . } -> object - Enumerator
:: Lazy # with _ index(offset = 0) -> Enumerator :: Lazy - Enumerator
:: Lazy # with _ index(offset = 0) {|(*args) , idx| . . . } -> Enumerator :: Lazy - Kernel
# with _ config(config , default = nil) -> bool | String - Kernel
# with _ config(config , default = nil) {|config , default| . . . } -> bool | String
-
Enumerable
# each _ with _ object(obj) {|(*args) , memo _ obj| . . . } -> object (6115.0) -
与えられた任意のオブジェクトと要素をブロックに渡し繰り返し、最初に与えられたオブジェクトを返します。
...返します。
ブロックを省略した場合は Enumerator を返します。
@param obj 任意のオブジェクトを指定します。
//emlist[例][ruby]{
evens = (1..10).each_with_object([]) {|i, a| a << i*2 }
# => [2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
//}
@see Enumerator#with_object... -
Enumerator
:: Lazy # with _ index(offset = 0) -> Enumerator :: Lazy (6115.0) -
生成時のパラメータに従って、要素にインデックスを添えて繰り返します。 インデックスは offset から始まります。
...クスは offset から始まります。
ブロックを指定した場合の戻り値は生成時に指定したレシーバ自身です。
//emlist[][ruby]{
("a"..).lazy.with_index(1) { |it, index| puts "#{index}:#{it}" }.take(3).force
# => 1:a
# 2:b
# 3:c
//}
@see Enumerator#with_index... -
Enumerator
:: Lazy # with _ index(offset = 0) {|(*args) , idx| . . . } -> Enumerator :: Lazy (6115.0) -
生成時のパラメータに従って、要素にインデックスを添えて繰り返します。 インデックスは offset から始まります。
...クスは offset から始まります。
ブロックを指定した場合の戻り値は生成時に指定したレシーバ自身です。
//emlist[][ruby]{
("a"..).lazy.with_index(1) { |it, index| puts "#{index}:#{it}" }.take(3).force
# => 1:a
# 2:b
# 3:c
//}
@see Enumerator#with_index... -
Kernel
# with _ config(config , default = nil) -> bool | String (6115.0) -
configure のオプションを検査します。
...configure のオプションを検査します。
configure のオプションに --with-<config> が指定された場合は真を返しま
す。--without-<config> が指定された場合は偽を返します。どちらでもない場
合は default を返します。
これはデバッグ情......定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if with_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end... -
Kernel
# with _ config(config , default = nil) {|config , default| . . . } -> bool | String (6115.0) -
configure のオプションを検査します。
...configure のオプションを検査します。
configure のオプションに --with-<config> が指定された場合は真を返しま
す。--without-<config> が指定された場合は偽を返します。どちらでもない場
合は default を返します。
これはデバッグ情......定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if with_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end... -
Matrix
# each _ with _ index(which = :all) -> Enumerator (6109.0) -
行列の各要素をその位置とともに引数としてブロックを呼び出します。
...ださい。
ブロックを省略した場合、 Enumerator を返します。
//emlist[例][ruby]{
require 'matrix'
Matrix[ [1,2], [3,4] ].each_with_index do |e, row, col|
puts "#{e} at #{row}, #{col}"
end
# => 1 at 0, 0
# => 2 at 0, 1
# => 3 at 1, 0
# => 4 at 1, 1
//}
@param which... -
Matrix
# each _ with _ index(which = :all) {|e , row , col| . . . } -> self (6109.0) -
行列の各要素をその位置とともに引数としてブロックを呼び出します。
...ださい。
ブロックを省略した場合、 Enumerator を返します。
//emlist[例][ruby]{
require 'matrix'
Matrix[ [1,2], [3,4] ].each_with_index do |e, row, col|
puts "#{e} at #{row}, #{col}"
end
# => 1 at 0, 0
# => 2 at 0, 1
# => 3 at 1, 0
# => 4 at 1, 1
//}
@param which... -
Prime
:: PseudoPrimeGenerator # with _ object(obj) -> Enumerator (6109.0) -
与えられた任意のオブジェクトと要素をブロックに渡して評価します。
...bj 任意のオブジェクトを指定します。
@return 最初に与えられたオブジェクトを返します。
@return ブロックを与えられた場合は obj を返します。ブロックを与えられなかった場合は Enumerator を返します。
@see Enumerator#with_object... -
Prime
:: PseudoPrimeGenerator # with _ object(obj) {|prime , obj| . . . } -> object (6109.0) -
与えられた任意のオブジェクトと要素をブロックに渡して評価します。
...bj 任意のオブジェクトを指定します。
@return 最初に与えられたオブジェクトを返します。
@return ブロックを与えられた場合は obj を返します。ブロックを与えられなかった場合は Enumerator を返します。
@see Enumerator#with_object... -
Rake
:: TaskArguments # with _ defaults(defaults) -> Hash (6108.0) -
パラメータにデフォルト値をセットします。
...", "name2"], ["value1", "value2"])
arguments.to_hash # => {:name1=>"value1", :name2=>"value2"}
arguments.with_defaults({ default_key: "default_value"}) # => {:default_key=>"default_value", :name1=>"value1", :name2=>"value2"}
arguments.to_hash...