Helper method for formatters that need to format a duration in seconds to the UNIX time format.
# File lib/cucumber/formatter/duration.rb, line 7 def format_duration(seconds) m, s = seconds.divmod(60) "#{m}m#{'%.3f' % s}s" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.