Module: Connect

Defined in:
lib/connect/dsl.rb,
lib/connect/lexer.rb,
lib/connect/parser.rb,
lib/connect/includer.rb,
lib/connect/selector.rb,
lib/connect/conversions.rb,
lib/connect/entries/base.rb,
lib/connect/interpolator.rb,
lib/connect/objects/host.rb,
lib/connect/values_table.rb,
lib/connect/entries/value.rb,
lib/connect/objects_table.rb,
lib/connect/extended_array.rb,
lib/connect/datasources/base.rb,
lib/connect/entries/reference.rb,
lib/connect/object_definition.rb,
lib/connect/object_representation.rb,
lib/connect/entries/object_reference.rb

Defined Under Namespace

Modules: Conversions, Datasources, Entry, Objects Classes: Config, Dsl, ExtendedArray, Includer, Interpolator, ObjectDefinition, ObjectRepresentation, ObjectsTable, Selector, ValuesTable, Xdef, Xref

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject

Returns the value of attribute logger.



29
30
31
# File 'lib/connect/dsl.rb', line 29

def logger
  @logger
end

Class Method Details

.debug(message) ⇒ Object



32
33
34
# File 'lib/connect/dsl.rb', line 32

def self.debug(message)
  @logger.debug "CONNECT: #{message}" if @logger && @logger.respond_to?(:debug)
end

.warn(message) ⇒ Object



36
37
38
# File 'lib/connect/dsl.rb', line 36

def self.warn(message)
  @logger.warn "CONNECT: #{message}" if @logger && @logger.respond_to?(:warn)
end