module RSpeed::Env
Public Instance Methods
app()
click to toggle source
# File lib/rspeed/env.rb, line 7 def app ENV['RSPEED_APP'] end
db()
click to toggle source
# File lib/rspeed/env.rb, line 11 def db ENV['RSPEED_DB']&.to_i end
host()
click to toggle source
# File lib/rspeed/env.rb, line 15 def host ENV['RSPEED_HOST'] end
pipe()
click to toggle source
# File lib/rspeed/env.rb, line 19 def pipe ENV.fetch('RSPEED_PIPE', 1).to_i end
pipes()
click to toggle source
# File lib/rspeed/env.rb, line 23 def pipes ENV.fetch('RSPEED_PIPES', 1).to_i end
port()
click to toggle source
# File lib/rspeed/env.rb, line 27 def port ENV['RSPEED_PORT']&.to_i end
rspeed()
click to toggle source
# File lib/rspeed/env.rb, line 31 def rspeed ENV['RSPEED'] == 'true' end
spec_path()
click to toggle source
# File lib/rspeed/env.rb, line 35 def spec_path ENV.fetch('RSPEED_SPEC_PATH', './spec/**/*spec.rb') end