A simple rubygem to inject some whimsicality into your strings.
I've had a couple of command-line utilities for these floating around on my personal machines for a while, and figured it would be great to put them out there in an easily-consumable format.
gem install whimsy_strwhimsy_str provides some extensions to the built-in String class, allowing
easy transformations into popular meme formats.
require 'whimsy_str'
puts "Sounds like a lot of \n#{'hooplah'.wavify}\nover one small krabby patty"
puts "Nobody wants to work anymore".spongifyConsole output:
Sounds like a lot of
h o o p l a h
over one small krabby patty
NOBOdY WAnTS To wORK AnYmOrE
whimsy_str provides command-line executables for these functionalities, as
well. For example:
$ wavy incredible
i n c r e d i b l e
$ sponge 'wow this is so cool'
wow thiS is sO coOl
$- Ruby >= 2.7