Class: Mnemonicker::Commands::Help

Inherits:
Object
  • Object
show all
Defined in:
lib/mnemonicker/cli.rb

Instance Method Summary collapse

Instance Method Details

#processObject



65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# File 'lib/mnemonicker/cli.rb', line 65

def process
$stderr.puts <<-EOS

Commands

   encode [number] - Suggest words that can represent the number
   decode [*words] - Convert words to numbers
   update          - Download latest wordlist
   help            - This output

System

   Each number maps to a group of similar sounds, which you can then make
   a sentence out of that is easier to remember than the numbers themself.

   # | Sound     | Way to remember
   --+-----------+---------------------------
   0 | s, z      | z is the first letter of zero
   1 | t, th, t  | t & d have one downstroke
   2 | n         | n has two downstrokes
   3 | m         | m has three downstrokes
   4 | r         | r is the last character of four
   5 | l         | L is the roman numeral for 50
   6 | sh, ch, j | I just remember this one
   7 | k         | K contains two sevens back to back
   8 | f, v      | Script f looks like an 8
   9 | p, b      | p and b both very similar shape to 9

   Any sounds not in this list (vowels, "w", "h", "x") are "free" and do not
   represent anything.

 EOS
end