Module: Virtus::Model::Core

Defined in:
lib/virtus/model.rb

Class Method Summary collapse

Class Method Details

.extended(descendant) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
32
33
# File 'lib/virtus/model.rb', line 29

def self.extended(descendant)
  super
  descendant.extend(Extensions::Methods)
  descendant.extend(InstanceMethods)
end