class RailsApiBenchmark::Server
Public Class Methods
new()
click to toggle source
# File lib/rails_api_benchmark/server.rb, line 5 def initialize @cmd = RailsApiBenchmark.config.server_cmd @env = RailsApiBenchmark.config.env_vars end
run()
click to toggle source
# File lib/rails_api_benchmark/server.rb, line 14 def self.run new.run end
Public Instance Methods
run()
click to toggle source
# File lib/rails_api_benchmark/server.rb, line 10 def run Subprocess.new(@cmd, @env) end