Method: Chrome::BuildContext#initialize
- Defined in:
- app/drivers/chrome/build_context.rb
#initialize ⇒ BuildContext
Returns a new instance of BuildContext.
5 6 7 8 9 10 11 12 |
# File 'app/drivers/chrome/build_context.rb', line 5 def initialize @debug = (ENV['FLOK_ENV'] == "DEBUG") @release = (ENV['FLOK_ENV'] == "RELEASE") @spec = (ENV['FLOK_CHROME_SPEC'] == "TRUE") Dir.chdir File.join(File.dirname(__FILE__), "../../../") do @mods = Flok::Platform.mods(ENV['FLOK_ENV']) end end |