Module: PunctuationName

Defined in:
lib/punctuation_name.rb,
lib/punctuation_name/version.rb,
lib/punctuation_name/dicts/uk.rb,
lib/punctuation_name/dicts/us.rb

Overview

Add docs

Defined Under Namespace

Classes: Punctuation

Constant Summary collapse

VERSION =
'1.1.3'
UK_NAMES =
{ '!' => 'exclamation mark',
'@' => 'at sign',
'#' => 'hash',
'£' => 'pound',
'$' => 'dollar',
'%' => 'percent',
'^' => 'carat',
'&' => 'ampersand',
'*' => 'asterisk',
'(' => 'open parenthesis',
')' => 'close parenthesis',
'-' => 'hyphen',
'_' => 'underscore',
'+' => 'plus',
'=' => 'equal sign',
'{' => 'open brace',
'}' => 'close brace',
'[' => 'open bracket',
']' => 'close bracket',
';' => 'semi colon',
':' => 'colon',
'"' => 'quote',
'|' => 'pipe',
'~' => 'tilde',
'`' => 'backtick',
'<' => 'less than',
'>' => 'greater than',
'?' => 'question mark',
',' => 'comma',
'.' => 'full stop',
'/' => 'forward slash',
' ' => 'space',
'\'' => 'apostrophe',
'\\' => 'back slash' }.freeze
US_NAMES =
{ '!' => 'exclamation mark',
'@' => 'at sign',
'#' => 'hash',
'£' => 'pound',
'$' => 'dollar',
'%' => 'percent',
'^' => 'carat',
'&' => 'ampersand',
'*' => 'asterisk',
'(' => 'open parenthesis',
')' => 'close parenthesis',
'-' => 'hyphen',
'_' => 'underscore',
'+' => 'plus',
'=' => 'equal sign',
'{' => 'open brace',
'}' => 'close brace',
'[' => 'open bracket',
']' => 'close bracket',
';' => 'semi colon',
':' => 'colon',
'"' => 'quote',
'|' => 'pipe',
'~' => 'tilde',
'`' => 'backtick',
'<' => 'less than',
'>' => 'greater than',
'?' => 'question mark',
',' => 'comma',
'.' => 'period',
'/' => 'forward slash',
' ' => 'space',
'\'' => 'apostrophe',
'\\' => 'back slash' }.freeze