Module: InheritsFrom::ClassMethods

Defined in:
lib/inherits_from.rb

Instance Method Summary collapse

Instance Method Details

#inherits_from(inheriter, args = {}) ⇒ Object



9
10
11
12
13
14
# File 'lib/inherits_from.rb', line 9

def inherits_from(inheriter, args={})
  belongs_to inheriter, args
  inherited_methods(inheriter)
  inherited_save(inheriter)
  inherited_respond_to(inheriter)
end