Skip to content

Instantly share code, notes, and snippets.

@adkron
Created November 19, 2014 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adkron/75a650e813988755f0ba to your computer and use it in GitHub Desktop.
Save adkron/75a650e813988755f0ba to your computer and use it in GitHub Desktop.

IrbAffirmations

Thanks to @tehviking and his 2014 Rubyconf talk. Sometimes when working on a C extension you sometimes need some affirmations in your irb. I've tried to provide that for him.

Installation

$ gem install irb_affirmations

Usage

Add this line to your .irbrc:

require 'irb_affirmations'

Contributing

  1. Fork it ( https://github.com/adkron/irb_affirmations/fork )
  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 a new Pull Request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment