Module: Fleck::Core::Consumer::Decorators

Included in:
Fleck::Core::Consumer
Defined in:
lib/fleck/core/consumer/decorators.rb

Overview

‘Decorators` module implements the feature which allows to use decorators for action methods. This will provide a easier and cleaner way to define consumer actions

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



9
10
11
12
# File 'lib/fleck/core/consumer/decorators.rb', line 9

def self.included(base)
  base.extend ClassMethods
  base.send :include, InstanceMethods
end