Module: TeLogger::TeLogHelper::ClassMethods
- Defined in:
- lib/teLogger.rb
Instance Method Summary collapse
- #logOutput ⇒ Object
- #logTag ⇒ Object
- #teLogger_output(*val) ⇒ Object
-
#teLogger_tag(val) ⇒ Object
methods called at class level by included class.
Instance Method Details
#logOutput ⇒ Object
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 |
#logTag ⇒ Object
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 |