~ 413x /.irbrc

require 'irb/completion'

# Works both with constants and strings (ri Hash vs ri 'Hash')
def ri(obj)
  puts `ri #{obj}`
end