Contents/Resources/keepass-password-generator-0.1.1/lib/keepass/password/char_set.rb
def add_from_char_set_id(char_set_id)
        if strings = mapping[char_set_id]
          add_from_strings *strings
        else
          raise InvalidCharSetIDError, "no such char set ID #{char_set_id.inspect}"
        end
      end
# Adds several characters according to the KeePass character class.
#
# @see http://keepass.info/help/base/pwgenerator.html#pattern
# @param [String] char_set_id the KeePass character set ID
# @raise [InvalidCharSetIDError] if mapping does not contain `char_set_id`
# @return [CharSet] self
Adds several characters according to the KeePass character class.
Adds several characters according to the KeePass character class .
def add_from_char_set_id(char_set_id)
        if strings = mapping[char_set_id]
          add_from_strings *strings
        else
          raise InvalidCharSetIDError, "no such char set ID #{char_set_id.inspect}"
        end
      end
def add_from_char_set_id ( char_set_id ) if strings = mapping [ char_set_id ] add_from_strings * strings else raise InvalidCharSetIDError , "no such char set ID #{char_set_id.inspect}" end end
Adds several characters according to the KeePass character class.
Adds several characters according to the KeePass character class .
None
CharSet
[InvalidCharSetIDError] if mapping does not contain `char_set_id`
[ InvalidCharSetIDError ] if mapping does not contain ` char_set_id `
char_set_id
char_set_id the KeePass character set ID
char_set_id the KeePass character set ID
see
None