Class: MetasploitDataModels::Search::Operator::IPAddress
- Inherits:
-
Metasploit::Model::Search::Operator::Single
- Object
- Metasploit::Model::Search::Operator::Single
- MetasploitDataModels::Search::Operator::IPAddress
- Defined in:
- app/models/metasploit_data_models/search/operator/ip_address.rb
Overview
Operator for inet
columns in a PostgreSQL database, which operates on formatted values using
MetasploitDataModels::Search::Operation::IPAddress.
Instance Attribute Summary collapse
-
#attribute ⇒ Symbol
(also: #name)
The attribute on
Metasploit::Model::Search::Operator::Base#klass
that is searchable.
Instance Method Summary collapse
-
#operation_class_name ⇒ String
The class used for
Metasploit::Model::Search::Operator::Single#operate_on
.
Instance Attribute Details
#attribute ⇒ Symbol Also known as: name
The attribute on Metasploit::Model::Search::Operator::Base#klass
that is searchable.
12 13 14 |
# File 'app/models/metasploit_data_models/search/operator/ip_address.rb', line 12 def attribute @attribute end |
Instance Method Details
#operation_class_name ⇒ String
The class used for Metasploit::Model::Search::Operator::Single#operate_on
.
30 31 32 |
# File 'app/models/metasploit_data_models/search/operator/ip_address.rb', line 30 def operation_class_name @operation_class_name ||= 'MetasploitDataModels::Search::Operation::IPAddress' end |