Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

== Welcome to OverrideKernel

OverrideKernel changes Kernel functions
from nasty wildebeasts into fluffy, harmless bunnies.
Currently, only the exit function is dealt with in such a manner.

== Getting Started

1. Install OverrideKernel at the command prompt if you haven't yet:

    gem install override_kernel

2. Require the gem in your Gemfile:

    gem 'override_kernel', '~> 0.0.1'

3. Require the gem wherever you need to use it:

    require 'override_kernel'

== Usage

Simply use the following call to start brushing the exit function off like it's
a harmless pest:


This line will gladly put it back in your way:


You can check the state of the application by
checking OverrideKernel.override_exit.

== Notes

* Please note that it is up to you to 'reset' the application's state should
  it be found to be 'dead'. The following line will do the deed:

   OverrideKernel::AppState.state = :alive

== Additional Documentation

 rake rdoc:app

== License

OverrideKernel is released under the GPLv3 license.

Recent activity


Commits by ToadJamb were pushed to ToadJamb/gems_override_kernel

a98bce3 - Set the state to dead when exit is called regardless of whether the override is in place - for cases where SystemExit Exception is handled.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.