Module: Metasploit::Model::Translation
- Extended by:
- ActiveSupport::Concern
- Included in:
- Base
- Defined in:
- lib/metasploit/model/translation.rb
Overview
ActiveRecord::Translation is a dirty bastard and overrides ActiveModel::Translation#lookup_ancestors
, so that it
will only count superclasses, and not all ancestors. Metasploit::Model needs the original behavior so that its
Module modules can supply translations to both ActiveRecord::Base
descendants in Mdm
and
ActiveModel
descendants in Metasploit::Framework
Defined Under Namespace
Modules: ClassMethods