This is a shell from which you can experiment with code. For a new person, it's not important to care about this if you code in small pieces and test often.
- Interactive Ruby Shell
-
See also .irbrc
Notes ∞
irb -r irb/completion --simple-prompt
exec "irb --simple-prompt -r#{__FILE__}" if __FILE__ == $0
Irb Resources ∞
- https://web.archive.org/web/20090414015519/http://rubycentral.com:80/book/irb.html
- fxirb is an IRB session embedded in a Fox GUI.
-
Wirble is a set of enhancements for Irb. Wirble enables several items mentioned on the RubyGarden Irb Tips and Tricks page, including tab-completion, history, and a built-in ri command, as well as colorized results and a couple other goodies. The idea, of course, is to fill Irb with useful features without turning your
~/.irbrc
file into swiss cheese. - irb Tips and Tricks
- check out https://www.ruby-forum.com/t/my-irbrc-for-console-irb/71935#new
- http://web.archive.org/web/20070823101329/http://errtheblog.com/post/26
-
http://blog.nicksieger.com/articles/2006/04/23/tweaking-irb/
- James Edward Gray II's configuration
- http://tagaholic.me/2009/05/11/demystifying-irb-commands.html
-
http://tagaholic.me/2009/05/29/exploring-how-to-configure-irb.html
hirb
(http://tagaholic.me/hirb/) - Pretty print ruby objects as tables, trees ...bond
(http://tagaholic.me/bond/) - Custom autocompletion for an object's methods, a method's arguments and more-
alias
(http://tagaholic.me/alias/) - Configurable aliasing for methods, classes, constants and more
Last updated 2019-12-06 at 00:18:04