Module: CrossPlane
- Defined in:
- lib/crossplane/lexer.rb,
lib/crossplane/utils.rb,
lib/crossplane/config.rb,
lib/crossplane/errors.rb,
lib/crossplane/parser.rb,
lib/crossplane/builder.rb,
lib/crossplane/globals.rb,
lib/crossplane/analyzer.rb
Overview
require_relative ‘errors.rb’
Defined Under Namespace
Classes: Analyzer, Builder, Config, ConstructorError, Lexer, NgxParserBaseException, NgxParserDirectiveArgumentsError, NgxParserDirectiveContextError, NgxParserDirectiveError, NgxParserDirectiveUnknownError, NgxParserIncludeError, NgxParserSyntaxError, Parser, Utils
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
20
21
22
|
# File 'lib/crossplane/globals.rb', line 20
def self.config
@config
end
|
.config=(config) ⇒ Object
16
17
18
|
# File 'lib/crossplane/globals.rb', line 16
def self.config=(config)
@config = config
end
|
.debug ⇒ Object
28
29
30
|
# File 'lib/crossplane/globals.rb', line 28
def self.debug
@debug
end
|
.debug=(debug) ⇒ Object
24
25
26
|
# File 'lib/crossplane/globals.rb', line 24
def self.debug=(debug)
@debug = debug
end
|
.logger ⇒ Object
36
37
38
|
# File 'lib/crossplane/globals.rb', line 36
def self.logger
@logger || CrossPlane.utils.configure_logger(debug: true)
end
|
.logger=(logger) ⇒ Object
32
33
34
|
# File 'lib/crossplane/globals.rb', line 32
def self.logger=(logger)
@logger = logger
end
|
.utils ⇒ Object
12
13
14
|
# File 'lib/crossplane/globals.rb', line 12
def self.utils
@utils
end
|
.utils=(utils) ⇒ Object
8
9
10
|
# File 'lib/crossplane/globals.rb', line 8
def self.utils=(utils)
@utils = utils
end
|