You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prompt.ask("Time to enter (CTRL-C to cancel): ",String){|q| q.default="1"}#=> Time to enter (CTRL-C to cancel): |1| #=> "1"prompt.ask("Time to enter (CTRL-C to cancel): ",Float){|q| q.default=1.0}#=> Time to enter (CTRL-C to cancel): #=> 1.0
If we stick with the older version we can just add gem 'highline', '1.6.21' to the top of application.rb and not have to worry about the change ...
The text was updated successfully, but these errors were encountered:
https://github.com/JEG2/highline/blob/master/lib/highline/question.rb#L254
If we stick with the older version we can just add
gem 'highline', '1.6.21'
to the top ofapplication.rb
and not have to worry about the change ...The text was updated successfully, but these errors were encountered: