diff options
Diffstat (limited to 'bootstraptest/test_proc.rb')
-rw-r--r-- | bootstraptest/test_proc.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstraptest/test_proc.rb b/bootstraptest/test_proc.rb index 6d2c557c3c..637603243d 100644 --- a/bootstraptest/test_proc.rb +++ b/bootstraptest/test_proc.rb @@ -367,8 +367,8 @@ assert_equal 'ok', %q{ assert_equal 'ok', %q{ class Foo - def call_it - p = Proc.new + def call_it(&block) + p = Proc.new(&block) p.call end end |