Module: SharedBehaviors

Included in:
DailyReport, DailyTable
Defined in:
lib/daily/shared_behaviors.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(model) ⇒ Object



2
3
4
5
6
7
8
# File 'lib/daily/shared_behaviors.rb', line 2

def self.included(model)
  model.send :include, HasData
  model.send :has_data, :transform
  
  model.send :include, InstanceMethods
  model.send :extend, ClassMethods
end