853件ヒット
[801-853件を表示]
(0.106秒)
別のキーワード
ライブラリ
- ビルトイン (602)
- csv (24)
- erb (12)
- pathname (51)
- rake (12)
-
rake
/ packagetask (12) -
rexml
/ streamlistener (12) -
rubygems
/ version (12) - set (23)
- tsort (93)
クラス
- Array (12)
-
CSV
:: Row (24) - ERB (12)
-
Gem
:: Version (12) - Hash (48)
- Method (24)
- Module (264)
- Object (84)
- Pathname (51)
- Proc (6)
-
Rake
:: FileList (12) -
Rake
:: PackageTask (12) - Range (55)
- Refinement (4)
- Set (32)
- String (12)
- TracePoint (12)
- UnboundMethod (12)
モジュール
- Enumerable (48)
- GC (12)
-
REXML
:: StreamListener (12) - TSort (93)
キーワード
- < (12)
- <= (12)
- <=> (12)
- === (20)
- > (12)
- >= (12)
- ancestors (12)
-
append
_ features (12) - bind (12)
-
const
_ defined? (12) -
const
_ get (12) -
const
_ source _ location (12) - constants (12)
- cover? (19)
-
def
_ module (12) -
defined
_ class (12) -
each
_ child (24) -
each
_ entry (39) -
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) - entitydecl (12)
- entries (12)
- eql? (12)
- extend (12)
-
garbage
_ collect (12) -
has
_ key? (12) - header? (12)
-
import
_ methods (4) - include? (96)
- included (12)
-
included
_ modules (12) - inspect (12)
-
is
_ a? (12) - key? (12)
-
kind
_ of? (12) - member? (48)
-
method
_ defined? (12) - methods (12)
-
package
_ files (12) -
prepend
_ features (12) -
private
_ instance _ methods (12) -
private
_ method _ defined? (12) -
protected
_ method _ defined? (12) -
public
_ method _ defined? (12) - resolve (12)
-
respond
_ to? (12) -
respond
_ to _ missing? (12) -
ruby2
_ keywords (18) -
singleton
_ methods (12) -
strongly
_ connected _ components (12) -
to
_ s (12) - tsort (12)
-
tsort
_ each (23)
検索結果
先頭5件
-
UnboundMethod
# bind(obj) -> Method (13.0) -
self を obj にバインドした Method オブジェクトを生成して返します。
...スのインスタンスのみです。
@raise TypeError objがbindできないオブジェクトである場合に発生します
//emlist[例][ruby]{
# クラスのインスタンスメソッドの UnboundMethod の場合
class Foo
def foo
"foo"
end
end
# UnboundMethod `m' を生成
p m......を生成
p m = Foo.instance_method(:foo) # => #<UnboundMethod: Foo#foo>
# Foo をインクルードしたクラス Bar のインスタンスをレシーバと
# する Method オブジェクトを生成
class Bar
include Foo
end
p m.bind(Bar.new) # => #<Method: Bar(Foo)#foo>
//}......_method(:foo) # => #<UnboundMethod: Foo#foo>
# Foo をインクルードしたクラス Bar のインスタンスをレシーバと
# する Method オブジェクトを生成
class Bar
include Foo
end
p m.bind(Bar.new) # => #<Method: Bar(Foo)#foo>
//}
@see UnboundMethod#bind_call... -
CSV
:: Row # header?(name) -> bool (8.0) -
自身のヘッダに与えられた値が含まれている場合は真を返します。 そうでない場合は偽を返します。
...い場合は偽を返します。
@param name この行のヘッダに含まれているかどうか調べたい値を指定します。
//emlist[例][ruby]{
require "csv"
row = CSV::Row.new(["header1", "header2"], [1, 2])
row.header?("header1") # => true
row.header?("header3") # => false
//}... -
Hash
# has _ key?(key) -> bool (8.0) -
ハッシュが key をキーとして持つ時真を返します。
...ハッシュが key をキーとして持つ時真を返します。
@param key 探索するキーを指定します。
//emlist[][ruby]{
p({1 => "one"}.key?(1)) # => true
p({1 => "one"}.key?(2)) # => false
//}
@see Hash#value?... -
Hash
# key?(key) -> bool (8.0) -
ハッシュが key をキーとして持つ時真を返します。
...ハッシュが key をキーとして持つ時真を返します。
@param key 探索するキーを指定します。
//emlist[][ruby]{
p({1 => "one"}.key?(1)) # => true
p({1 => "one"}.key?(2)) # => false
//}
@see Hash#value?... -
Hash
# member?(key) -> bool (8.0) -
ハッシュが key をキーとして持つ時真を返します。
...ハッシュが key をキーとして持つ時真を返します。
@param key 探索するキーを指定します。
//emlist[][ruby]{
p({1 => "one"}.key?(1)) # => true
p({1 => "one"}.key?(2)) # => false
//}
@see Hash#value?...