summaryrefslogtreecommitdiffstats
path: root/b.rb
diff options
context:
space:
mode:
authorguy Decoux <ts@moulon.inra.fr>2009-02-28 19:48:26 +0100
committerguy Decoux <ts@moulon.inra.fr>2009-02-28 19:48:26 +0100
commit35a378406bed6a38e4797d7faefafa8c9738073e (patch)
tree32f42574265a1740ff989d10a2ab5264fee61657 /b.rb
downloadmmap-ruby-35a378406bed6a38e4797d7faefafa8c9738073e.zip
mmap-ruby-35a378406bed6a38e4797d7faefafa8c9738073e.tar.gz
mmap-0.1
Diffstat (limited to 'b.rb')
-rwxr-xr-xb.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/b.rb b/b.rb
new file mode 100755
index 0000000..6c685ca
--- /dev/null
+++ b/b.rb
@@ -0,0 +1,5 @@
+#!/usr/bin/ruby
+require "mmap"
+m = Mmap.new("aa", "rw")
+m.gsub!(/(.)/, '(\&)')
+