class TypoGen::SkipLetter

Public Class Methods

create(word) click to toggle source
# File lib/typogen/skip_letter.rb, line 3
def self.create(word)
  word.size.times.map do |i|
    temp = word.dup
    temp[i] = ''
    temp
  end.uniq
end