# File lib/serverspec/setup.rb, line 49 def self.ask_os_type prompt = "Select OS type:\n\n1) UN*X\n2) Windows\n\nSelect number:\n" print prompt.chop num = $stdin.gets.to_i - 1 puts @os_type = ['UN*X', 'Windows'][num] || 'UN*X' end