lib/danger/commands/init_helpers/interviewer.rb in danger-4.3.3 vs lib/danger/commands/init_helpers/interviewer.rb in danger-4.3.4
- old
+ new
@@ -31,11 +31,11 @@
say ""
pause 0.6
end
def link(url)
- say " -> " + url.underline + "\n"
+ say " -> " + url.underlined + "\n"
end
def pause(time)
sleep(time) unless @no_waiting
end
@@ -55,10 +55,10 @@
def ask_with_answers(question, possible_answers)
ui.print "\n#{question}? ["
print_info = proc do
possible_answers.each_with_index do |answer, i|
- the_answer = i.zero? ? answer.underline : answer
+ the_answer = i.zero? ? answer.underlined : answer
ui.print " " + the_answer
ui.print(" /") if i != possible_answers.length - 1
end
ui.print " ]\n"
end