minivan / emotion

Express your thoughts in your code. Be more poetic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emotion

Emotion takes Ruby to a whole new level by extending the language with keywords that allow for more expressive code.

Installation

Add this line to your application's Gemfile:

gem 'emotion'

And then execute:

$ bundle

Or install it yourself as:

$ gem install emotion

Usage

Ever see a dirty hack? Emotions got you covered. The days of writing useless comments are long gone.

  10.times do
    "RUN FOR YOUR LIFE".ohcrap.itsatrap!.downcase.yey
  end.lolwut

  haha = 3.14.ohgodwhy.to_s + "dary".wat

  haha.gooby.pls

That's a lot clearer, isn't it?

Supported words:

  • ohgodwhy
  • awyeah
  • areyoukiddingme
  • badass
  • dealwithit
  • facepalm
  • foreveralone
  • ftw
  • fuckyeah
  • iseewhatyoudidthere
  • itsatrap!
  • lolwut
  • megusta
  • ohcrap
  • sweetjesus
  • dolan
  • gooby
  • pls
  • wat
  • wtf
  • woot
  • yey
  • zbs!

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Thanks

to fuckyeah and Roman.

About

Express your thoughts in your code. Be more poetic.

License:MIT License


Languages

Language:Ruby 100.0%