Class: Pug::Config

Inherits:
JadePug::Config show all
Defined in:
lib/pug-ruby/config.rb

Overview

Defines Pug compiler configuration.

The documentation for Pug configuration options can be found here:

Instance Method Summary collapse

Methods inherited from JadePug::Config

#method_missing, #respond_to_missing?, #to_hash

Constructor Details

#initializeConfig

Returns a new instance of Config.



13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/pug-ruby/config.rb', line 13

def initialize
  super
  @filename                 = nil
  @basedir                  = nil
  @doctype                  = nil
  @pretty                   = false
  @self                     = false
  @compile_debug            = false
  @globals                  = []
  @inline_runtime_functions = true
  @name                     = "template"
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class JadePug::Config