Table Flip on Ruby Exceptions

blfuqvh 3年前

来自: https://github.com/iridakos/table_flipper

Table flipper (╯°□°)╯︵ ┻━┻

A useless gem that prepends the table flipper on Exception messages.

Installation

Add this line to your application's Gemfile:

gem 'table_flipper'

And then execute:

$ bundle

Or install it yourself as:

$ gem install table_flipper

Then try to break your code, ta da:

NoMethodError: (╯°□°)╯︵ ┻━┻ : undefined method `do_something' for nil:NilClass

Contributing

  1. Fork it ( https://github.com/iridakos/table_flipper/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

Lazarus Lazaridis