Module: Larynx::Callbacks

Included in:
Larynx, Command
Defined in:
lib/larynx/callbacks.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
# File 'lib/larynx/callbacks.rb', line 4

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