Module: CommentableModel

Defined in:
lib/commentable_model.rb

Overview

for inclusion into ActiveRecord::Base

Defined Under Namespace

Modules: ClassMethods, CommentableClassMethods, CommentableInstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
# File 'lib/commentable_model.rb', line 2

def self.included(base)
  base.extend ClassMethods
end