Class: Chrome::BuildContext
- Inherits:
-
Object
- Object
- Chrome::BuildContext
- Defined in:
- app/drivers/chrome/build_context.rb
Instance Method Summary collapse
- #get_binding ⇒ Object
-
#initialize ⇒ BuildContext
constructor
A new instance of BuildContext.
Constructor Details
#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 |
Instance Method Details
#get_binding ⇒ Object
14 15 16 |
# File 'app/drivers/chrome/build_context.rb', line 14 def get_binding binding end |