rush now has RDocs and a gem.
Adam, Just started getting familiar with rush and when trying to exit using #finish() an exception is thrown.
Is #finish the appropriate method call for exiting ?
Cheers! sinclair
PS the work-around is #exit! rather than #exit in shell.rb #finish()
Actually, Ctrl-D is the standard method of exiting the shell. But I agree people will expect the exit command to work as well, so I just added it in the latest git revision.
Software, entrepreneurship, Ruby, Rails.
Subscribe to the full-text RSS feed or the comments RSS feed.
Powered by SimpleLog
Comments
There are 2 comments on this post. Post yours →
Adam, Just started getting familiar with rush and when trying to exit using #finish() an exception is thrown.
Is #finish the appropriate method call for exiting ?
Cheers! sinclair
PS the work-around is #exit! rather than #exit in shell.rb #finish()
Actually, Ctrl-D is the standard method of exiting the shell. But I agree people will expect the exit command to work as well, so I just added it in the latest git revision.
Post a comment
Required fields in bold.