Class: AocCli::Solve::Respond::Wait
Instance Attribute Summary
Attributes inherited from Response
#attempt
Instance Method Summary
collapse
Methods inherited from Response
#initialize
Instance Method Details
#react ⇒ Object
100
|
# File 'lib/aoc_cli/solve.rb', line 100
def react; end
|
#respond ⇒ Object
91
92
93
94
95
96
|
# File 'lib/aoc_cli/solve.rb', line 91
def respond
puts " \#{\"Please wait\".yellow.bold}: \#{time.to_s} \n response\n self\nend\n"
|
#time ⇒ Object
97
98
99
|
# File 'lib/aoc_cli/solve.rb', line 97
def time
attempt.raw.scan(/(?:\d+m\s)?\d+s/).first.to_s
end
|