ctrl-d on ask_simply raises a NoMethod Exception #248

flomotlik opened this Issue Aug 23, 2012 · 2 comments


None yet

3 participants


When pressing ctrl-d on stdin.gets in ask_simply a NoMethodException will be raised as stdin.gets returns nil.

The easiest way to resolve this would be to return an empty string when stdin.gets returns nil. Is there anything speaking against this?


Not that I'm aware of. Patches welcome =D

wycats commented Sep 10, 2012

Should be fixed in a57811c

@wycats wycats closed this Sep 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment