Module: Sunrise::Models::Post

Included in:
Post
Defined in:
lib/sunrise/models/post.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
# File 'lib/sunrise/models/post.rb', line 5

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