Sha256: d982111c0cd2585864fea3c5b2ff09bbfe61ad92851bef1170bfd44b53a9b62a
Contents?: true
Size: 625 Bytes
Versions: 115
Compression:
Stored size: 625 Bytes
Contents
# Extracts the `Arel::Attribute` objects from `Metasploit::Model::Search::Operator::Base` subclasses. class MetasploitDataModels::Search::Visitor::Attribute include Metasploit::Model::Visitation::Visit visit 'Metasploit::Model::Search::Operator::Association' do |operator| visit operator.source_operator end visit 'Metasploit::Model::Search::Operator::Attribute', 'MetasploitDataModels::Search::Operator::IPAddress', 'MetasploitDataModels::Search::Operator::Port::List' do |operator| table = operator.klass.arel_table table[operator.attribute] end Metasploit::Concern.run(self) end
Version data entries
115 entries across 115 versions & 2 rubygems