Class: Class

Inherits:
Object show all
Defined in:
lib/synchromesh/policy.rb

Instance Method Summary collapse

Instance Method Details

#inherited(child_class) ⇒ Object



482
483
484
485
486
# File 'lib/synchromesh/policy.rb', line 482

def inherited(child_class)
  pre_synchromesh_inherited(child_class).tap do
    HyperMesh::PolicyAutoLoader.load(child_class.name, child_class)
  end
end

#pre_synchromesh_inheritedObject



480
# File 'lib/synchromesh/policy.rb', line 480

alias pre_synchromesh_inherited inherited