るりまサーチ

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

別のキーワード

  1. _builtin >
  2. bigdecimal >
  3. comparable >
  4. integer >
  5. float >

クラス

キーワード

検索結果

Method#call(*args) -> object (15246.0)

メソッドオブジェクトに封入されているメソッドを起動します。

...用意されたもので、Array#[]のような
他の [] メソッドとの意味的な関連性はありません。


@
param args self に渡される引数。

@
see UnboundMethod#bind_call
@
see spec/safelevel

//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
e...
...nd

m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}...

Method#call(*args) { ... } -> object (15246.0)

メソッドオブジェクトに封入されているメソッドを起動します。

...用意されたもので、Array#[]のような
他の [] メソッドとの意味的な関連性はありません。


@
param args self に渡される引数。

@
see UnboundMethod#bind_call
@
see spec/safelevel

//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
e...
...nd

m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}...

Method#call(*args) -> object (15240.0)

メソッドオブジェクトに封入されているメソッドを起動します。

...で、Array#[]のような
他の [] メソッドとの意味的な関連性はありません。


@
param args self に渡される引数。

@
see UnboundMethod#bind_call

//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end

m = Foo.new.method(:foo) # => #<Metho...
...d: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}...

Method#call(*args) { ... } -> object (15240.0)

メソッドオブジェクトに封入されているメソッドを起動します。

...で、Array#[]のような
他の [] メソッドとの意味的な関連性はありません。


@
param args self に渡される引数。

@
see UnboundMethod#bind_call

//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end

m = Foo.new.method(:foo) # => #<Metho...
...d: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}...

Method#call(*args) -> object (15234.0)

メソッドオブジェクトに封入されているメソッドを起動します。

...Array#[]のような
他の [] メソッドとの意味的な関連性はありません。


@
param args self に渡される引数。

@
see spec/safelevel

//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end

m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1...
...] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}...

絞り込み条件を変える

Method#call(*args) { ... } -> object (15234.0)

メソッドオブジェクトに封入されているメソッドを起動します。

...Array#[]のような
他の [] メソッドとの意味的な関連性はありません。


@
param args self に渡される引数。

@
see spec/safelevel

//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end

m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1...
...] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}...

Method#===(*args) -> object (146.0)

メソッドオブジェクトに封入されているメソッドを起動します。

...用意されたもので、Array#[]のような
他の [] メソッドとの意味的な関連性はありません。


@
param args self に渡される引数。

@
see UnboundMethod#bind_call
@
see spec/safelevel

//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
e...
...nd

m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}...

Method#[](*args) -> object (146.0)

メソッドオブジェクトに封入されているメソッドを起動します。

...用意されたもので、Array#[]のような
他の [] メソッドとの意味的な関連性はありません。


@
param args self に渡される引数。

@
see UnboundMethod#bind_call
@
see spec/safelevel

//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
e...
...nd

m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}...

Method#===(*args) -> object (140.0)

メソッドオブジェクトに封入されているメソッドを起動します。

...で、Array#[]のような
他の [] メソッドとの意味的な関連性はありません。


@
param args self に渡される引数。

@
see UnboundMethod#bind_call

//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end

m = Foo.new.method(:foo) # => #<Metho...
...d: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}...

Method#[](*args) -> object (140.0)

メソッドオブジェクトに封入されているメソッドを起動します。

...で、Array#[]のような
他の [] メソッドとの意味的な関連性はありません。


@
param args self に渡される引数。

@
see UnboundMethod#bind_call

//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end

m = Foo.new.method(:foo) # => #<Metho...
...d: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}...

絞り込み条件を変える

Method#===(*args) -> object (134.0)

メソッドオブジェクトに封入されているメソッドを起動します。

...Array#[]のような
他の [] メソッドとの意味的な関連性はありません。


@
param args self に渡される引数。

@
see spec/safelevel

//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end

m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1...
...] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}...

Method#[](*args) -> object (134.0)

メソッドオブジェクトに封入されているメソッドを起動します。

...Array#[]のような
他の [] メソッドとの意味的な関連性はありません。


@
param args self に渡される引数。

@
see spec/safelevel

//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end

m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1...
...] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}...