Class: Faker::Military
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.air_force_rank ⇒ String
Produces a rank in the U.S.
-
.army_rank ⇒ String
Produces a rank in the U.S.
-
.coast_guard_rank ⇒ String
Produces a rank in the U.S.
-
.dod_paygrade ⇒ String
Produces a U.S.
-
.marines_rank ⇒ String
Produces a rank in the U.S.
-
.navy_rank ⇒ String
Produces a rank in the U.S.
-
.space_force_rank ⇒ String
Produces a rank in the U.S.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.air_force_rank ⇒ String
Produces a rank in the U.S. Air Force.
54 55 56 |
# File 'lib/faker/default/military.rb', line 54 def air_force_rank fetch('military.air_force_rank') end |
.army_rank ⇒ String
Produces a rank in the U.S. Army.
15 16 17 |
# File 'lib/faker/default/military.rb', line 15 def army_rank fetch('military.army_rank') end |
.coast_guard_rank ⇒ String
Produces a rank in the U.S. Coast Guard
80 81 82 |
# File 'lib/faker/default/military.rb', line 80 def coast_guard_rank fetch('military.coast_guard_rank') end |
.dod_paygrade ⇒ String
Produces a U.S. Department of Defense Paygrade.
93 94 95 |
# File 'lib/faker/default/military.rb', line 93 def dod_paygrade fetch('military.dod_paygrade') end |
.marines_rank ⇒ String
Produces a rank in the U.S. Marines.
28 29 30 |
# File 'lib/faker/default/military.rb', line 28 def marines_rank fetch('military.marines_rank') end |
.navy_rank ⇒ String
Produces a rank in the U.S. Navy.
41 42 43 |
# File 'lib/faker/default/military.rb', line 41 def navy_rank fetch('military.navy_rank') end |
.space_force_rank ⇒ String
Produces a rank in the U.S. Space Force.
67 68 69 |
# File 'lib/faker/default/military.rb', line 67 def space_force_rank fetch('military.space_force_rank') end |