Class Index [+]

Quicksearch

Cucumber::Formatter::Duration

Public Instance Methods

format_duration(seconds) click to toggle source

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
 7:       def format_duration(seconds)
 8:         m, s = seconds.divmod(60)
 9:         "#{m}m#{'%.3f' % s}s" 
10:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.