Class: Flok::ApplicationJSERBContext

Inherits:
Object
  • Object
show all
Defined in:
lib/flok/build.rb

Instance Method Summary collapse

Constructor Details

#initializeApplicationJSERBContext

Returns a new instance of ApplicationJSERBContext.



115
116
117
118
119
120
121
# File 'lib/flok/build.rb', line 115

def initialize
  #Debug / Release
  @debug = (ENV['FLOK_ENV'] == "DEBUG")
  @release = (ENV['FLOK_ENV'] == "RELEASE")
  @mods = Flok::Platform.mods(ENV['FLOK_ENV'])
  @defines = Flok::Platform.defines(ENV['FLOK_ENV'])
end

Instance Method Details

#get_bindingObject



111
112
113
# File 'lib/flok/build.rb', line 111

def get_binding
  return binding
end