Module: Metasploit::Model::Search::Operation::Value::String

Included in:
Set::String, String
Defined in:
lib/metasploit/model/search/operation/value/string.rb

Overview

Concerns type casting of a raw value to a String.

Instance Method Summary collapse

Instance Method Details

#value=(formatted_value) ⇒ String

Sets Base#value by type casting to a String.

Parameters:

  • formatted_value (#to_s)

Returns:


11
12
13
# File 'lib/metasploit/model/search/operation/value/string.rb', line 11

def value=(formatted_value)
  @value = formatted_value.to_s
end