about summary refs log tree commit homepage
path: root/lib/dtas/parse_time.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dtas/parse_time.rb')
-rw-r--r--lib/dtas/parse_time.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dtas/parse_time.rb b/lib/dtas/parse_time.rb
index 95ffd18..7dd41c6 100644
--- a/lib/dtas/parse_time.rb
+++ b/lib/dtas/parse_time.rb
@@ -1,7 +1,9 @@
 # Copyright (C) 2013-2015 all contributors <dtas-all@nongnu.org>
 # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
 require_relative '../dtas'
+
 module DTAS::ParseTime
+  # convert a string time to seconds, returning a Flot or Integer
   def parse_time(time)
     case time
     when /\A\d+\z/