summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormokha <mokha@cisco.com>2018-02-13 19:13:15 -0700
committermokha <mokha@cisco.com>2018-02-13 19:13:15 -0700
commit5554c67d838bf4493f2f04ec228be3c7edb74629 (patch)
treefca2537c4588dc734b71d9ecb830c25e954ceb99
parenta4eee38a7cd12e74650ef308d8412cd695315546 (diff)
add hippo say.
-rw-r--r--lib/xsay.rb29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/xsay.rb b/lib/xsay.rb
index 6befa6e..4b6dcd6 100644
--- a/lib/xsay.rb
+++ b/lib/xsay.rb
@@ -19,6 +19,35 @@ module Xsay
MESSAGE
end
+ desc "hippo <message>", "xsay hippo meow"
+ def hippo(message)
+ line_break = "-" * message.length
+ say <<-MESSAGE
+ #{line_break}
+< #{message} >
+ #{line_break}
+
+ .-''''-. _
+ (' ' '0)-/)
+ '..____..: \\._
+ \\u u ( '-..------._
+ | / : '. '--.
+ .nn_nn/ ( : ' '\\
+ ( '' '' / ; . \\
+ ''----' "\\ : : '.
+ .'/ '.
+ / / '.
+ /_| ) .\\|
+ | /\\ . '
+ '--.__| '--._ , /
+ /'-, .'
+ / | _.'
+ (____\\ /
+ \\ \\
+ '-'-'-'
+ MESSAGE
+ end
+
private
def render(message, template)