class Metasploit::Credential::BlankUsername

A public credential in the form of a Username.

Public Instance Methods

blank_username() click to toggle source

This method always makes sure the BlankUsername is set to an empty string.

@return [void]

# File app/models/metasploit/credential/blank_username.rb, line 23
def blank_username
  self.username = ''
end