Class: Faker::Military
- Inherits:
-
Base
- Object
- Base
- Faker::Military
show all
- Defined in:
- lib/faker/default/military.rb
Constant Summary
Constants inherited
from Base
Base::Letters, Base::Numbers, Base::ULetters
Class Method Summary
collapse
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, translate, unique, with_locale
Class Method Details
.air_force_rank ⇒ Object
18
19
20
|
# File 'lib/faker/default/military.rb', line 18
def air_force_rank
fetch('military.air_force_rank')
end
|
.army_rank ⇒ Object
6
7
8
|
# File 'lib/faker/default/military.rb', line 6
def army_rank
fetch('military.army_rank')
end
|
.dod_paygrade ⇒ Object
22
23
24
|
# File 'lib/faker/default/military.rb', line 22
def dod_paygrade
fetch('military.dod_paygrade')
end
|
.marines_rank ⇒ Object
10
11
12
|
# File 'lib/faker/default/military.rb', line 10
def marines_rank
fetch('military.marines_rank')
end
|
.navy_rank ⇒ Object
14
15
16
|
# File 'lib/faker/default/military.rb', line 14
def navy_rank
fetch('military.navy_rank')
end
|