when in Rails irb, how to traverse to beginning/end of line?
is it possible to fire up 'irb开发者_Go百科' and have it automatically require some libs?
To move to the beginning/end of a line, you can use Ctrl-A/Ctrl-E or Home/End.
You can place arbitrary Ruby code in ~/.irbrc
.
精彩评论