examples/csv_weather.rb in ruote-0.9.18 vs examples/csv_weather.rb in ruote-0.9.19
- old
+ new
@@ -6,14 +6,14 @@
$table = CsvTable.new("http://spreadsheets.google.com/pub?key=pCkopoeZwCNsMWOVeDjR1TQ&output=csv&gid=0")
def decide (hash)
- $table.transform hash
+ $table.transform hash
- puts " weather : #{hash['weather']}, month : #{hash['month']}"
- puts " => take umbrella ? #{hash['take_umbrella?']}"
- puts
+ puts " weather : #{hash['weather']}, month : #{hash['month']}"
+ puts " => take umbrella ? #{hash['take_umbrella?']}"
+ puts
end
puts
decide({ "weather" => "raining", "month" => "december" })