Skip to content

Multiline text doesn't format correctly #4

@tas50

Description

@tas50

First off I want to say this gem is awesome. It's a ton of fun and I'd really love to get some nice multi-line motd action going on via Chef on my servers. Unfortunately the text doesn't seem to format quite right with newlines. Any chance it would be simple to add some parsing for multiline text?

irb(main):006:0> puts Cow.new.say("Fun text\nOften spans lines")
 ____________________________
< Fun text
Often spans lines >
 ----------------------------
      \   ^__^
       \  (oo)\_______
          (__)\       )\/\
              ||----w |
              ||     ||

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions