source: de.wigbels.ruby/hotcoldrain/test.rb @ bc410f6

Last change on this file since bc410f6 was bc410f6, checked in by Norbert Wigbels <frickel@…>, 6 years ago

mqtttemp - Temp. / Hum. aus Sonoff

  • Property mode set to 100644
File size: 178 bytes
Line 
1@mypath = File.expand_path(File.dirname(__FILE__))
2
3def foo
4  puts @mypath
5end
6
7bar = "16.9"
8bar1 = "16"
9bar = bar.gsub(".",",")
10bar1 = bar1.gsub(".",",")
11puts bar
12puts bar1
13foo
Note: See TracBrowser for help on using the repository browser.