irb
Interactive Ruby shell. More information: https://ruby.github.io/irb/.
- Start the interactive shell:
irb
- Start the interactive shell with the simple prompt:
irb --simple-prompt
- Start the interactive shell without reading the configuration file:
irb -f
- Evaluate Ruby code read from
stdin:
echo "" | irb --noecho
- Display help:
irb
- Display version:
irb
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
