summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormokha <mokha@cisco.com>2018-03-13 19:06:53 -0600
committermokha <mokha@cisco.com>2018-03-13 19:06:53 -0600
commit0f2fd97b03db1ba2ee0c03632bf3ae9b13b5ec8d (patch)
tree54a39adcbe07e08febf034d79208ec80d5f29efe /lib
parent01d2842510249334ad2e8b51fbf68e63392c8bf2 (diff)
color -> colour.
Diffstat (limited to 'lib')
-rw-r--r--lib/xsay.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xsay.rb b/lib/xsay.rb
index cd2ccc7..75dcb66 100644
--- a/lib/xsay.rb
+++ b/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