Module: Templates::Associations

Defined in:
lib/templates/associations.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
5
6
# File 'lib/templates/associations.rb', line 2

def self.included(base)
  base.class_eval {
    belongs_to :template
  }
end