repo.or.cz
/
jruby.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Something wrong with splats in my previous commit...backing out until I figure this...
[jruby.git]
/
samples
/
java2.rb
blob
8a3f004b69597516c54b60cc66711ac928399233
1
require "java"
2
3
filename = __FILE__
4
fr = java.io.FileReader.new filename
5
br = java.io.BufferedReader.new fr
6
7
s = br.readLine
8
9
print "------ ", filename, "------\n"
10
11
while s
12
puts s.to_s
13
s = br.readLine
14
end
15
16
print "------ ", filename, " end ------\n";
17
18
br.close