class Metasploit::Model::Search::Operator::Attribute
A search operator declared with {Metasploit::Model::Search::Attribute::ClassMethods#search_attribute search_attribute}.
Constants
- TYPES
The valid {#type types}.
Attributes
attribute[RW]
@!attribute [r] attribute
The attribute on {Metasploit::Model::Search::Operator::Base#klass klass} that is searchable. @return [Symbol] the attribute name
name[RW]
@!attribute [r] attribute
The attribute on {Metasploit::Model::Search::Operator::Base#klass klass} that is searchable. @return [Symbol] the attribute name
type[RW]
@!attribute [r] type
The type of {#attribute}. @return [Symbol] Value from {TYPES}.
Public Instance Methods
attribute_set()
click to toggle source
Set for {#attribute} as provided by {Metasploit::Model::Search::Operator::Base#klass klass}.
@return [Enumerable, include?]
# File app/models/metasploit/model/search/operator/attribute.rb, line 55 def attribute_set klass.send("#{attribute}_set") end