module FFaker::NatoAlphabet
def codify(masks)
def codify(masks) masks.scan(/./).map do |c| case c when '#' then fetch_sample(NUMERIC_CODES) when '?' then fetch_sample(ALPHABET_CODES) when '.' then STOP_CODE else c end end.join end
def codify(masks) masks.scan(/./).map do |c| case c when '#' then fetch_sample(NUMERIC_CODES) when '?' then fetch_sample(ALPHABET_CODES) when '.' then STOP_CODE else c end end.join end