Module: Metasploit::Model::Translation
- Extended by:
- ActiveSupport::Concern
- Included in:
- Architecture, Author, Authority, Base, EmailAddress, Module::Action, Module::Ancestor, Module::Architecture, Module::Author, Module::Class, Module::Instance, Module::Path, Module::Platform, Module::Rank, Module::Reference, Module::Target, Module::Target::Architecture, Module::Target::Platform, Platform, Reference
- 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