class Faker::NatoPhoneticAlphabet

Public Class Methods

code_word() click to toggle source

Produces a code word from the NATO phonetic alphabet.

@return [String]

@example

Faker::NatoPhoneticAlphabet.code_word #=> "Hotel"

@faker.version 1.9.0

# File lib/faker/default/nato_phonetic_alphabet.rb, line 15
def code_word
  fetch('nato_phonetic_alphabet.code_word')
end