Live data from Hacker News

Tossing Out IRB for Pry

philaquilina.com

1–10 of 25 posts

Re: Tossing Out IRB for Pry

#5
Nice 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.

Re: Tossing Out IRB for Pry

#6
post #4

This 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

#7
post #5

Nice 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.

Context clues.

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

#9
post #6
post #4

This 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

Pry has this functionality built-in but souped-up on a diet of crack: https://github.com/pry/pry/wiki/Editor-integration

;)

Post reply on HN