lib/cliprompt.rb in cliprompt-0.0.5 vs lib/cliprompt.rb in cliprompt-0.0.6
- old
+ new
@@ -8,9 +8,10 @@
module_function
MSG_MANDATORY_TEXT = "Sorry you need to fill that information."
MSG_YES_OR_NO = "You need to answer by yes, no, y, n, 1 or 0."
MSG_CHOSE_IN_LIST = "You need to chose between the available options."
+ MSG_INPUT_A_NUMBER = "You need input a number."
MSG_CHOSE_A_NUMBER = "Choose a number:"
def ask(question, *options)
if options[0].class == Optionset
opts = options[0]