Class: Pug::ShippedCompiler

Inherits:
JadePug::ShippedCompiler show all
Includes:
CompilationEssentials
Defined in:
lib/pug-ruby/shipped-compiler.rb

Overview

Abstraction layer for shipped Pug compiler.

Instance Attribute Summary

Attributes inherited from JadePug::Compiler

#engine, #version

Instance Method Summary collapse

Methods included from CompilationEssentials

#process_result

Methods inherited from JadePug::ShippedCompiler

#compile, #compile_compiler_source, #npm_package_require_snippet, #path_to_compiler_source, #read_compiler_source

Methods inherited from JadePug::Compiler

#compilation_snippet, #compile, #npm_package_require_snippet, #prepare_options, #prepare_source, #process_result, #shipped?, #system?

Constructor Details

#initialize(version) ⇒ ShippedCompiler

Returns a new instance of ShippedCompiler.



11
12
13
# File 'lib/pug-ruby/shipped-compiler.rb', line 11

def initialize(version)
  super Pug, version
end