repo.or.cz
/
rubydium.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
new world
[rubydium.git]
/
baby
/
src
/
misc.rb
blob
74978e96b48eb510b0fe108cf8cf1dc87c5224bb
1
class String
2
def indent n
3
ind = " " * n
4
lines = self.split "\n"
5
lines.map { |line| ind + line }.join "\n"
6
end
7
end
8
9
def gb statement
10
p statement.methods - Object.instance_methods - Enumerable.instance_methods
11
end
12