diff options
| author | mokha <mokha@cisco.com> | 2018-03-13 19:18:16 -0600 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2018-03-13 19:18:16 -0600 |
| commit | b79eb1aca452618da3e7aa478b6fffa34c37680f (patch) | |
| tree | eb47ea64f0d18bbb167c7ee83361ce8b8d9323ef | |
| parent | 56e7c194135e82bd75f1eb9361af9684a93ad607 (diff) | |
blink the message.
| -rw-r--r-- | lib/xsay.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xsay.rb b/lib/xsay.rb index ba765f9..2c81c27 100644 --- a/lib/xsay.rb +++ b/lib/xsay.rb @@ -48,7 +48,7 @@ module Xsay spaces = " " * n result = <<-MESSAGE #{line_break} -< #{message} > +< #{n.even? ? message : ' ' * message.length} > #{line_break} #{template.gsub(/^/, "#{spaces}")} |
