Module: Laminar::Callbacks

Defined in:
lib/laminar/callbacks.rb

Overview

Callback hooks for particles

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



6
7
8
9
10
11
# File 'lib/laminar/callbacks.rb', line 6

def self.included(klass)
  klass.class_eval do
    extend ClassMethods
    include InstanceMethods
  end
end