Table Flip on Ruby Exceptions

blfuqvh 8年前發布 | 36K 次閱讀 Ruby Git Ruby開發

來自: 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

 本文由用戶 blfuqvh 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!