https://github.com/janlelis/every_day_irb
https://github.com/janlelis/every_day_irb
developer-tools irb ruby ruby-console
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/janlelis/every_day_irb
- Owner: janlelis
- License: mit
- Created: 2019-04-02T14:56:02.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2025-12-25T22:37:03.000Z (6 months ago)
- Last Synced: 2026-01-06T06:31:22.640Z (6 months ago)
- Topics: developer-tools, irb, ruby, ruby-console
- Language: Ruby
- Homepage:
- Size: 22.5 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: MIT-LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Every day… IRB [![[version]](https://badge.fury.io/rb/every_day_irb.svg)](https://badge.fury.io/rb/every_day_irb) [](https://github.com/janlelis/every_day_irb/actions?query=workflow%3ATest)
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](https://github.com/janlelis/irbtools).
## Setup
Add to your `Gemfile`:
```ruby
gem "every_day_irb"
```
## Usage
Execute this:
```ruby
extend EveryDayIrb
```
to get the following methods:
- ls(path = '.')
- cd(path = nil)
- cat(path)
- rq(lib)
- rr(lib)
- ld(lib)
- rerequire(lib)
- clear
- reset!
More info at the [Irbtools README](https://github.com/janlelis/irbtools#irbtools-methods) and in the [specs](https://github.com/janlelis/every_day_irb/blob/main/spec/every_day_irb_spec.rb).
## MIT License
Copyright (C) 2010-2022 Jan Lelis . Released under the MIT license.