Class: RailsApiBenchmark::Core
- Inherits:
-
Object
- Object
- RailsApiBenchmark::Core
- Includes:
- Logging
- Defined in:
- lib/rails_api_benchmark/core.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Core
constructor
A new instance of Core.
- #run ⇒ Object
Methods included from Logging
Constructor Details
#initialize ⇒ Core
Returns a new instance of Core.
11 12 13 14 15 16 |
# File 'lib/rails_api_benchmark/core.rb', line 11 def initialize @config = RailsApiBenchmark.config @resultset = ResultSet.new init_files write_index end |
Class Method Details
.run ⇒ Object
7 8 9 |
# File 'lib/rails_api_benchmark/core.rb', line 7 def self.run new.run end |