Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seandenigris/yaih
Yet Another IRB History gem
https://github.com/seandenigris/yaih
Last synced: 6 days ago
JSON representation
Yet Another IRB History gem
- Host: GitHub
- URL: https://github.com/seandenigris/yaih
- Owner: seandenigris
- Created: 2012-03-29T03:40:03.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-03-29T03:45:26.000Z (almost 13 years ago)
- Last Synced: 2024-11-17T19:11:38.349Z (2 months ago)
- Language: Ruby
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
Awesome Lists containing this project
README
h2. Description
YAIH is an acronym that stands for Yet Another IRB History. It's a gem that provides bash like methods for interfacing with IRB history.
Please take a look to "this":http://lucapette.com/irb/improving-irb-history/ article if you want to dig into IRB history.h2. Features
The aim of this gem is providing a bash like history to IRB. If you require it in your irbrc you'll get the following methods:
* h
The h method prints the last _n_(10 as default) lines of your IRB history.
* hgrep
It takes a string as only argument and greps your IRB history.
* h!
It takes a range of lines to execute from your IRB history.h2. Roadmap
* write tests
* include a proc to erase history duplicate lines
* make the gem configurable with some options like default printed lines number, history _decoration_ type, etc.h2. Copyright
This program is free software. It comes without any warranty,
to the extent permitted by applicable law. You can redistribute
it and/or modify it under the terms of the Do What The Fuck You
Want To Public License, Version 2, as published by Sam Hocevar.
See http://sam.zoy.org/wtfpl/COPYING for more details.