formal argument cannot be an instance variable: In ruby1.8 it’s possible to use an instance variable as a block argument: class Foo attr_accessor :bar def test [1,2,3].each {|@bar| } # @bar will be 3 here end end This no longer works in ruby1.9, you as it always creates a new local variable block argument. The equivalent in ruby1.9: class Foo attr_accessor :bar def test [1,2,3].each {|bar| @bar=ba
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く