_plugins/kbd_tag.rb
# Spell out some characters that might be
# indiscernable or easily confused
Spell out some characters that might be
indiscernable or easily confused
Spell out some characters that might be indiscernable or easily confused
def clarify_characters
    unclear_characters = {
      ',' => 'Comma (,)',
      '.' => 'Period (.)',
      ';' => 'Semicolon (;)',
      ':' => 'Colon (:)',
      '`' => 'Backtick (`)',
      '-' => 'Minus Sign (-)',
      '+' => 'Plus Sign (+)',
      '=' => 'Equals Sign (=)',
      '_' => 'Underscore (_)',
      '~' => 'Tilde (~)'
    }
    unclear_characters.key?(self) ? unclear_characters[self] : self
  end
def clarify_characters unclear_characters = { ',' => 'Comma (,)' , '.' => 'Period (.)' , ';' => 'Semicolon (;)' , ':' => 'Colon (:)' , '`' => 'Backtick (`)' , '-' => 'Minus Sign (-)' , '+' => 'Plus Sign (+)' , '=' => 'Equals Sign (=)' , '_' => 'Underscore (_)' , '~' => 'Tilde (~)' } unclear_characters . key? ( self ) ? unclear_characters [ self ] : self end
Spell out some characters that might be
indiscernable or easily confused
Spell out some characters that might be indiscernable or easily confused