Ask Method For Rake Tasks
Join the DZone community and get the full member experience.Join For Free
// description of your code here
def ask(question) print question + " " answer = STDIN.gets.chomp if answer == "" or answer.nil? return nil else return answer end end
Opinions expressed by DZone contributors are their own.