Commit 5554c67

mokha <mokha@cisco.com>
2018-02-14 02:13:15
add hippo say.
1 parent a4eee38
Changed files (1)
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)