Class: Flok::ApplicationJSERBContext
- Inherits:
-
Object
- Object
- Flok::ApplicationJSERBContext
- Defined in:
- lib/flok/build.rb
Instance Method Summary collapse
- #get_binding ⇒ Object
-
#initialize ⇒ ApplicationJSERBContext
constructor
A new instance of ApplicationJSERBContext.
Constructor Details
#initialize ⇒ ApplicationJSERBContext
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_binding ⇒ Object
111 112 113 |
# File 'lib/flok/build.rb', line 111 def get_binding return binding end |