Module: Pancake::Mixins::StackHelper

Defined in:
lib/pancake/mixins/stack_helper.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/pancake/mixins/stack_helper.rb', line 4

def self.included(base)
  base.extlib_inheritable_accessor :_stack_class
  base.extend ClassMethods
  base.class_eval do
    include ::Pancake::Mixins::StackHelper::InstanceMethods
  end
  base.stack_class
end