Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any iPython-like shells for Ruby or Rails?

I love iPython and am learning RoR along with some libraries like Mechanize and I'd like to be able to easily see what I'm working with in terms of introspection. I would like to be able to type "." + TAB and see.

like image 910
user306942 Avatar asked Apr 01 '10 13:04

user306942


2 Answers

There is an irb tool to help autocomplete

require 'irb/completion' 
like image 170
shingara Avatar answered Sep 22 '22 06:09

shingara


You should take a look at Pry (an IRB alternative and runtime developer console). It isn't as advanced as the current version of IPython, but it's the most advanced developer console we have in Ruby.

like image 39
jmonteiro Avatar answered Sep 24 '22 06:09

jmonteiro