Class: Metasploit::Credential::CaseInsensitiveSerializer

Inherits:
Object
  • Object
show all
Defined in:
lib/metasploit/credential/case_insensitive_serializer.rb

Class Method Summary collapse

Class Method Details

.dump(value) ⇒ Object



6
7
8
# File 'lib/metasploit/credential/case_insensitive_serializer.rb', line 6

def self.dump(value)
    value.downcase
end

.load(value) ⇒ Object



2
3
4
# File 'lib/metasploit/credential/case_insensitive_serializer.rb', line 2

def self.load(value)
    value
end