gsamokovarov/web-console — pull request #4 by gsamokovarov (2013-07-04 13:15:09+00:00)
Title: Adapter registration supports a block

For the IRB adapter we had to do monkey patching and rails console helper methods inclusion. Both of those were a one-off tasks, that were placed kinda funky in the code.

If `WebConsole::REPL.register_adapter` supports a block, that would be executed right after the initialization, those blocks would be prefect locations for one-off tasks, like the one above.