examples/example2.rb in ruby-snarl-0.0.7 vs examples/example2.rb in ruby-snarl-0.0.8

- old
+ new

@@ -1,14 +1,14 @@ require 'snarl' puts "Snarl Version: #{Snarl.version}" 10.downto(1) do |i| - Snarl.show_message("Message", "Counting down #{i}", i) + Snarl.show_message("Message", "Counting down #{i}", nil, i) end sleep 11 10.times do |i| - Snarl.show_message("Message", "Counting down #{i+1}", i+1) + Snarl.show_message("Message", "Counting down #{i+1}", nil, i+1) end