Module: TeLogger::TeLogHelper::ClassMethods

Defined in:
lib/teLogger.rb

Instance Method Summary collapse

Instance Method Details

#logOutputObject



29
30
31
32
33
34
35
36
37
# File 'lib/teLogger.rb', line 29

def logOutput
  if @telOutput.nil?
    []
  elsif not @telOutput.is_a?(Array)
    [@telOutput]
  else
    @telOutput
  end
end

#logTagObject



25
26
27
# File 'lib/teLogger.rb', line 25

def logTag
  @telTag
end

#teLogger_output(*val) ⇒ Object



21
22
23
# File 'lib/teLogger.rb', line 21

def teLogger_output(*val)
  @telOutput = val
end

#teLogger_tag(val) ⇒ Object

methods called at class level by included class



17
18
19
# File 'lib/teLogger.rb', line 17

def teLogger_tag(val)
  @telTag = val 
end