1. seydar
  2. chitin

Commits

seydar  committed 9a3d9d0

last_elapsed defaults to 0.0. still needs a better name, though

  • Participants
  • Parent commits f0cb5c8
  • Branches default

Comments (0)

Files changed (1)

File lib/chitin/commands/builtins.rb

View file
 
       # Get the elapsed time of the last command.
       def last_elapsed
-        SESSION.last_elapsed
+        SESSION.last_elapsed || 0.0
       end
     end
     include Prompts