Method: Cuboid::Application#statistics

Defined in:
lib/cuboid/application.rb

#statisticsHash

Returns Framework statistics:

  • ‘:runtime` – Scan runtime in seconds.

Returns:

  • (Hash)

    Framework statistics:

    • ‘:runtime` – Scan runtime in seconds.



275
276
277
278
279
# File 'lib/cuboid/application.rb', line 275

def statistics
    {
        runtime: @start_datetime ? (@finish_datetime || Time.now) - @start_datetime : 0,
    }
end