Class: Pug::ShippedCompiler
- Inherits:
-
JadePug::ShippedCompiler
- Object
- JadePug::Compiler
- JadePug::ShippedCompiler
- Pug::ShippedCompiler
- 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
Instance Method Summary collapse
-
#initialize(version) ⇒ ShippedCompiler
constructor
A new instance of ShippedCompiler.
Methods included from CompilationEssentials
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 |