irb anywhere by calling 'ir b' (need a whitespace!).
gem install ir_b
require 'ir_b'
...
ir b # or ir-b
or with pry:
require 'ir_b/pry'
...
ir b
- the method 'ir' is Kernel#ir and start irb session with specified binding
- the method 'b' is an alias of binding
- the method IrB.- start irb session
Copyright (c) 2010 jugyo. See LICENSE for details.