Module: Limitable::Base

Defined in:
lib/limitable/base.rb

Overview

Limitable::Base

Module that allows for automatic inclusion of Limitable within subclasses when extended in a superclass.

Instance Method Summary collapse

Instance Method Details

#inherited(klass) ⇒ Object



9
10
11
12
# File 'lib/limitable/base.rb', line 9

def inherited(klass)
  super
  klass.include Limitable
end