Create your own GitHub profile
Sign up for your own profile on GitHub, the best place to host code, manage projects, and build software alongside 40 million developers.
Sign up- Oregon, USA
- http://slowbro.org
22 contributions in the last year
Contribution activity
October 2019
- slowbro/strings Ruby
- slowbro/tty-table Ruby
- slowbro/tty-reader Ruby
Created a pull request in piotrmurach/tty-prompt that received 7 comments
fix #106 - yes? and no? shouldn't raise an exception on invalid/blank input
Describe the change
Fixes #106 by adding a default validator and message:
+ @validation = /^(y(es)?|no?)$/i
+ @messages[ :valid? ] = "Invalid input."
+48
−3
•
7
comments