OSDN Git Service

fix form
[pettanr/pettanr.git] / lib / manifest / profiler / association / belongs_to.rb
1 module Manifest
2   module ProfilerModule
3     module AssociationModule
4       class BelongsTo
5         attr :association, :model_name
6         def initialize association, model_name
7           @association = association
8           @model_name = model_name
9           self.set_default
10           self.init
11         end
12         
13         def set_default
14         end
15         
16         def init
17         end
18         
19         def association_name
20           @association.association_name
21         end
22         
23       end
24       
25     end
26   end
27 end