Method: JadePug::ShippedCompiler#initialize
- Defined in:
- lib/jade-pug/shipped-compiler.rb
#initialize(engine, version) ⇒ ShippedCompiler
Returns a new instance of ShippedCompiler.
14 15 16 17 |
# File 'lib/jade-pug/shipped-compiler.rb', line 14 def initialize(engine, version) super @execjs = compile_compiler_source(read_compiler_source(path_to_compiler_source)) end |