Sha256: 5eabf49ba548ec0a99e049804db0bd02f1a725362531a2f0f81aa027373f47aa
Contents?: true
Size: 445 Bytes
Versions: 4
Compression:
Stored size: 445 Bytes
Contents
# encoding: utf-8 module Freeberry module Models module Header def self.included(base) base.send :include, InstanceMethods base.send :extend, ClassMethods end module ClassMethods def self.extended(base) base.class_eval do belongs_to :headerable, :polymorphic => true end end end module InstanceMethods end end end end
Version data entries
4 entries across 4 versions & 1 rubygems