Module: Metasploit::Model::Search::Operation::String::Value
- Included in:
- Metasploit::Model::Search::Operation::Set::String, Metasploit::Model::Search::Operation::String
- Defined in:
- lib/metasploit/model/search/operation/string/value.rb
Overview
Concerns type casting of a raw value to a String
.
Instance Method Summary collapse
-
#value=(formatted_value) ⇒ String
Sets Base#value by type casting to a String.
Instance Method Details
#value=(formatted_value) ⇒ String
Sets Base#value by type casting to a String.
11 12 13 |
# File 'lib/metasploit/model/search/operation/string/value.rb', line 11 def value=(formatted_value) @value = formatted_value.to_s end |