Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

ctrl-d on ask_simply raises a NoMethod Exception #248

Closed
flomotlik opened this Issue · 2 comments

3 participants

@flomotlik

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?

@eventualbuddha
Collaborator

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

@wycats
Owner

Should be fixed in a57811c

@wycats wycats closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.