Module: Sneakers::Concerns::Logging

Included in:
Worker
Defined in:
lib/sneakers/concerns/logging.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
# File 'lib/sneakers/concerns/logging.rb', line 4

def self.included(base)
  base.extend ClassMethods
  base.send :define_method, :logger do
    base.logger
  end
end