Module: Lono::Sets::TimeSpent
- Includes:
- Utils::PrettyTime
- Included in:
- Status, Status::Instances
- Defined in:
- lib/lono/sets/time_spent.rb
Instance Method Summary collapse
Methods included from Utils::PrettyTime
Instance Method Details
#show_time_spent(stack_set_operation) ⇒ Object
5 6 7 8 9 |
# File 'lib/lono/sets/time_spent.rb', line 5 def show_time_spent(stack_set_operation) seconds = stack_set_operation. - stack_set_operation. time_took = pretty_time(seconds).color(:green) puts "Time took to complete stack set operation: #{time_took}" end |