Sha256: c680364f35e6972604fceeac70581eef0972f7408d54b1777c81e43e84f1c12b
Contents?: true
Size: 567 Bytes
Versions: 5
Compression:
Stored size: 567 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.attribute_operator end visit 'Metasploit::Model::Search::Operator::Attribute', 'MetasploitDataModels::Search::Operator::Port::List' do |operator| table = operator.klass.arel_table table[operator.attribute] end Metasploit::Concern.run(self) end
Version data entries
5 entries across 5 versions & 1 rubygems