Class: Jade::Config

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

Overview

Defines Jade compiler configuration.

The documentation for Jade 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
# File 'lib/jade-ruby/config.rb', line 13

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

Dynamic Method Handling

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