Module: Hammock::Logging

Defined in:
lib/hammock/logging.rb

Defined Under Namespace

Modules: Methods

Constant Summary collapse

MixInto =
ActionController::Base

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/hammock/logging.rb', line 5

def self.included base
  base.send :include, Methods
  base.send :extend, Methods

  base.class_eval {
    helper_method :log
  }
end