Project

ohno

0.0
No commit activity in last 3 years
No release in over 3 years
OhNo provides a bunch of methods that will cause your code to break. Use with caution.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.13
~> 10.0
 Project Readme

#OhNo

Do you ever feel like you don't even know where your errors are coming from? Try OhNo! With OhNo, you'll know exactly how those bugs got there - you put them there!

Have trouble with recursion? Just call stack_overflow method and call it a day!

Not so good with math? Try out divide_by_zero!

Need to buy some time? An infinite_loop is the one for you!

Try these and much, much more!

##Installation

Add this line to your application's Gemfile:

gem 'ohno'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install ohno

##Usage

Just slip any of these methods into your code and enjoy!

OhNo::infinite_loop
OhNo::stack_overflow
OhNo::divide_by_zero
OhNo::index_error
OhNo::type_error
OhNo::no_method_error
OhNo::argument_error
OhNo::load_error
OhNo::syntax_error
OhNo::i_wouldnt_if_i_were_you

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/DouglasTGordon/OhNo.