Module: Clinical::Sponsor
- Included in:
- Agency, Collaborator, LeadSponsor
- Defined in:
- lib/clinical/sponsor.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/clinical/sponsor.rb', line 3 def self.included(base) base.class_eval do attr_accessor :name include HappyMapper end base.extend(ClassMethods) base.send(:include, InstanceMethods) end |