summaryrefslogtreecommitdiff
path: root/sample/blk.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/blk.rb')
-rw-r--r--sample/blk.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/sample/blk.rb b/sample/blk.rb
deleted file mode 100644
index e11cc026ea..0000000000
--- a/sample/blk.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-def foo()
- $block = Block.new
-end
-
-foo(){|i| print "i = ", i, "\n"}
-$block.call(2)
-
-foo(){|i| print "i*2 = ", i*2, "\n"}
-$block.call(2)