Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (23 sloc) 475 Bytes

ir_b

irb anywhere by calling 'ir b' (need a whitespace!).

Install

gem install ir_b

Usage

require 'ir_b'
...
ir b # or ir-b

or with pry:

require 'ir_b/pry'
...
ir b

Detail

  • 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

Copyright (c) 2010 jugyo. See LICENSE for details.