Sha256: 1ee77f93cdc9b949a9fa360a3481529b52dcb0bec41677a33ef62f3486f65602
Contents?: true
Size: 183 Bytes
Versions: 15
Compression:
Stored size: 183 Bytes
Contents
# encoding: utf-8 require 'tty-prompt' prompt = TTY::Prompt.new prompt.ask('How do you like it on scale 1 - 10?', in: '1-10') do |q| q.messages[:range?] = "Sorry wrong one!" end
Version data entries
15 entries across 15 versions & 2 rubygems