Commit 0f2fd97

mokha <mokha@cisco.com>
2018-03-14 01:06:53
color -> colour.
1 parent 01d2842
Changed files (1)
lib/xsay.rb
@@ -26,8 +26,8 @@ module Xsay
 
     desc "random <message>", "xsay random hello"
     def random(*args)
-      random_color = (String.colors + [:rainbow]).sample
-      render(args, IO.read(ANIMALS.shuffle.sample), colour: random_color)
+      random_colour = (String.colors + [:rainbow]).sample
+      render(args, IO.read(ANIMALS.shuffle.sample), colour: random_colour)
     end
 
     private