programmer321 programmer321 - 1 year ago 163
Ruby Question

What does irb --simple-prompt do?

What does irb --simple-prompt do? I'm using a tutorial that does not explain what the term does. I've looked at various websites for documentation but the only definition it gives is circular (--simple-prompt = simple prompt mode).

Answer Source

It gives you a simpler prompt (lol). No ruby version and no line number.

Example using irb --simple-prompt:

user: $ irb --simple-prompt

Example using irb:

user: shield (master) $ irb
2.0.0-p353 :001 >
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download