Tossing Out IRB for Pry
philaquilina.com
Tossing Out IRB for Pry
1–10 of 25 posts
Re: Tossing Out IRB for Pry
#2Re: Tossing Out IRB for Pry
#3There's a brief Railscast on it as well: http://railscasts.com/episodes/280-pry-with-rails
Re: Tossing Out IRB for Pry
#4Re: Tossing Out IRB for Pry
#5Re: Tossing Out IRB for Pry
#6This looks really nice, but what I would like even more would be to just jump out into a minimal multi line edit mode between the "def" and "end" of a method.
Incidentally, because I want syntax-highlighting for ruby, I have this in my ~/.irbrc
def vim
edit_interactively("vim -c 'set ft=ruby'")
end
[1] - https://github.com/jtrupiano/flyrbRe: Tossing Out IRB for Pry
#7Nice and all, but I clicked the link wondering why Institutional Review Boards were being tossed, seeing as how they're required by federal law to oversee ethics in research at publicly funded universities.
If I was in a sportsbar and heard someone dissing the NFL, I wouldn't think "What do they have against the National Forensics League?"
On HN, if you see an acronym where it doesn't make sense to you, great! Most likely you're being presented the opportunity to learn about some cool technology.
Re: Tossing Out IRB for Pry
#8Re: Tossing Out IRB for Pry
#9This looks really nice, but what I would like even more would be to just jump out into a minimal multi line edit mode between the "def" and "end" of a method.
In IRB I use flyrb[1], which gives me methods called vi, emacs and mate, that give me this functionality. Incidentally, because I want syntax-highlighting for ruby, I have this in my ~/.irbrc def vim edit_interactively("vim -c 'set ft=ruby'") end [1] - https://github.com/jtrupiano/flyrb
;)
Re: Tossing Out IRB for Pry
#10 [19] (pry) main / Pry: 1> cd ..
[20] (pry) main / Pry: 0>
Shouldn't 'cd..' take you out of the Pry scope?