Module: Troo::ModelHelpers

Included in:
Board, Card, Comment, List, Member, Refresh
Defined in:
lib/troo/helpers/model_helpers.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



56
57
58
59
# File 'lib/troo/helpers/model_helpers.rb', line 56

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