Every day… IRB [version] [travis]

Provides utility methods useful in IRB, like a rq method for requiring libraries, or ls for showing the list of files of the current directory. Part of Irbtools.

Setup

Add to your Gemfile:

gem "every_day_irb"

Usage

Execute this:

extend EveryDayIrb

to get the following methods:

  • ls(path = '.')
  • cd(path = nil)
  • cat(path)
  • rq(lib)
  • rr(lib)
  • ld(lib)
  • rerequire(lib)
  • clear
  • reset!
  • session_history(number_of_lines = nil)

More info at the Irbtools README and in the specs.

MIT License

Copyright (C) 2010-2019 Jan Lelis http://janlelis.com. Released under the MIT license.