Skip to content

laka3000/gothify

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Gothify

We have String#upcase, String#downcase for formal use

We have also String#widen and String#narrowenfor when we want to be οΌΆοΌ‘οΌ°οΌ―οΌ², thanks to Aaron

Now we can be goth and code while blasting The Cure with String#gothify

Usage:

'tfw no goth gf'.gothify       => '𝔱𝔣𝔴 𝔫𝔬 𝔀𝔬𝔱π”₯ 𝔀𝔣'

'tfw no even gother gf'.gother => 'π–™π–‹π–œ 𝖓𝖔 π–Šπ–›π–Šπ–“ π–Œπ–”π–™π–π–Šπ–— π–Œπ–‹'

You can bang your string as well

my_string = 'tfw no goth gf'

my_string.gothify!

my_string => '𝔱𝔣𝔴 𝔫𝔬 𝔀𝔬𝔱π”₯ 𝔀𝔣'

If you want to go back to your normal life, you can use String#vanilla

'𝔱𝔣𝔴 𝔫𝔬 𝔀𝔬𝔱π”₯ 𝔀𝔣'.vanilla => 'tfw no goth gf'

Some aliases:

String#goth == String#gothify
String#goth! == String#gothify!

String#normie == String#vanilla
String#normie! == String#vanilla!

Setup:

gem install gothify

Or edit your Gemfile, add the following line

gem 'gothify', git: "https://github.com/laka3000/gothify"

Then run

bundle install

Require it with

require 'gothify'

Credits:

This is a hardcoded-dumbed-down version of Widen, by Aaron (https://github.com/tenderlove/widen)

Thanks to TenderLove for all your puns and knowledge, show him some love when using gothify

About

make goth cool again

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%