るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.100秒)
トップページ > クエリ:http[x] > クエリ:メソッド呼び出し(super・ブロック付き・yield)[x]

別のキーワード

  1. メソッド呼び出し(super・ブロック付き・yield)
  2. メソッド呼び出し(super・ブロック付き・yield) proc
  3. メソッド呼び出し(super・ブロック付き・yield) method
  4. メソッド呼び出し(super・ブロック付き・yield) localjumperror
  5. rubyで使われる記号の意味(正規表現の複雑な記号は除く)

検索結果

メソッド呼び出し(super・ブロック付き・yield) (15021.0)

メソッド呼び出し(super・ブロック付き・yield) * super * block * yield * block_arg * numbered_parameters * call_method

...メソッド呼び出し(super・ブロック付き・yield)
* super
* block
* yield
* block_arg
* numbered_parameters
* call_method

//emlist[例][ruby]{
foo.bar()
foo.bar
bar()
print "hello world\n"
print
Class.new
Class::new
//}

文法:

[式 `.'] 識別子 [`(' [[`*']...
...{|v| p v} #=> 1

def bar
yield [1,2,3]
end

bar{|a, b, c| p a} #=> 1

def hoge
yield [1,2,3],4,5
end

hoge{|a, b, c| p a} #=> [1,2,3]
//}


http
://www.a-k-r.org/d/2007-08.html#a2007_08_16_1

===[a:numbered_parameters] 番号指定パラメータ

ブロックに渡された値を参照す...