repo.or.cz
/
rwork.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
just update
[rwork.git]
/
domaca_27_4.rb
blob
d9a91d21c24ba145e6a84f62cc0e351351db6f52
1
#retazec "\home\cinan\rwork" napsie bez lomitok
2
3
ret = ["/","h","o","m","e","/","c","i","n","a","n","/","r","w","o","r","k"]
4
print ret
5
puts
6
pocet = ret.length.to_i
7
i = 0.to_i
8
while (i < pocet) and (ret[i] == "/")
9
ret[i] = " "
10
i=i+1
11
end
12
print ret
13
puts