るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.026秒)
トップページ > クエリ:param[x] > クエリ:map[x] > クラス:Object[x]

別のキーワード

  1. net/imap param
  2. win32ole win32ole_param
  3. win32ole_param new
  4. win32ole_param name
  5. win32ole_param to_s

ライブラリ

キーワード

検索結果

Object#enum_for(method = :each, *args) -> Enumerator (19.0)

Enumerator.new(self, method, *args) を返します。

...パラメータは引数 args です。


@param method メソッド名の文字列かシンボルです。
@param args 呼び出すメソッドに渡される引数です。

//emlist[][ruby]{
str = "xyz"

enum = str.enum_for(:each_byte)
p(a = enum.map{|b| '%02x' % b }) #=> ["78", "79", "7a"]

# pr...

Object#enum_for(method = :each, *args) {|*args| ... } -> Enumerator (19.0)

Enumerator.new(self, method, *args) を返します。

...パラメータは引数 args です。


@param method メソッド名の文字列かシンボルです。
@param args 呼び出すメソッドに渡される引数です。

//emlist[][ruby]{
str = "xyz"

enum = str.enum_for(:each_byte)
p(a = enum.map{|b| '%02x' % b }) #=> ["78", "79", "7a"]

# pr...

Object#to_enum(method = :each, *args) -> Enumerator (19.0)

Enumerator.new(self, method, *args) を返します。

...パラメータは引数 args です。


@param method メソッド名の文字列かシンボルです。
@param args 呼び出すメソッドに渡される引数です。

//emlist[][ruby]{
str = "xyz"

enum = str.enum_for(:each_byte)
p(a = enum.map{|b| '%02x' % b }) #=> ["78", "79", "7a"]

# pr...

Object#to_enum(method = :each, *args) {|*args| ... } -> Enumerator (19.0)

Enumerator.new(self, method, *args) を返します。

...パラメータは引数 args です。


@param method メソッド名の文字列かシンボルです。
@param args 呼び出すメソッドに渡される引数です。

//emlist[][ruby]{
str = "xyz"

enum = str.enum_for(:each_byte)
p(a = enum.map{|b| '%02x' % b }) #=> ["78", "79", "7a"]

# pr...