class Metasploit::Model::Search::Operator::Deprecated::Text

Search the equivalent of the text fields from `Mdm::Module::Detail` and its associations, making a union of `description`, `name`, `actions.name`, `architectures.abbreviation`, `platform`, and `ref`.

Constants

OPERATOR_NAMES

Names of operators that are unioned together for {Metasploit::Model::Search::Operator::Group::Union#operate_on}.

Public Instance Methods

children(formatted_value) click to toggle source

`description`, `name`, `actions.name`, `architectures.abbreviation`, `platform`, and `ref`.

@param formatted_value [String] value parsed from formatted operation @return [Array<Metasploit::Model::Search::Operation::Base>]

# File app/models/metasploit/model/search/operator/deprecated/text.rb, line 26
def children(formatted_value)
  OPERATOR_NAMES.collect { |operator_name|
    named_operator = operator(operator_name)
    named_operator.operate_on(formatted_value)
  }
end