Module: Logging::Layouts
- Defined in:
- lib/logging/layouts/odd_even_pattern.rb
Defined Under Namespace
Classes: EvenOddPattern
Class Method Summary collapse
Class Method Details
.even_odd_pattern(*args) ⇒ Object
3 4 5 6 |
# File 'lib/logging/layouts/odd_even_pattern.rb', line 3 def self.even_odd_pattern( *args ) return ::Logging::Layouts::EvenOddPattern if args.empty? ::Logging::Layouts::EvenOddPattern.new(*args) end |