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.
110 111 112 113 114 115 116 |
# File 'lib/flok/build.rb', line 110 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
106 107 108 |
# File 'lib/flok/build.rb', line 106 def get_binding return binding end |