index
:
mmap-ruby
master
ruby bindings for Unix mmap2 by Guy Decoux
Jérémy Zurcher
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
b.rb
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'b.rb')
-rwxr-xr-x
b.rb
1
1 files changed, 1 insertions, 0 deletions
diff --git a/b.rb b/b.rb
index 2bc2475..2acbcf2 100755
--- a/
b.rb
+++ b/
b.rb
@@ -1,4 +1,5 @@
#!/usr/bin/ruby
+$LOAD_PATH.unshift "."
require "mmap"
PAGESIZE = 4096
f = File.open("aa", "w")