source:
de.wigbels.ruby/hotcoldrain/test.rb@
aa10f5c
Last change on this file since aa10f5c was bc410f6, checked in by , 7 years ago | |
---|---|
|
|
File size: 178 bytes |
Rev | Line | |
---|---|---|
[8cc14b9] | 1 | @mypath = File.expand_path(File.dirname(__FILE__)) |
2 | ||
3 | def foo | |
4 | puts @mypath | |
5 | end | |
6 | ||
[bc410f6] | 7 | bar = "16.9" |
8 | bar1 = "16" | |
9 | bar = bar.gsub(".",",") | |
10 | bar1 = bar1.gsub(".",",") | |
11 | puts bar | |
12 | puts bar1 | |
[8cc14b9] | 13 | foo |
Note:
See TracBrowser
for help on using the repository browser.