Class: Faker::Compass
- Inherits:
-
Base
- Object
- Base
- Faker::Compass
show all
- Defined in:
- lib/faker/default/compass.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
.abbreviation ⇒ Object
26
27
28
|
# File 'lib/faker/default/compass.rb', line 26
def abbreviation
parse('compass.abbreviation')
end
|
.azimuth ⇒ Object
30
31
32
|
# File 'lib/faker/default/compass.rb', line 30
def azimuth
parse('compass.azimuth')
end
|
.cardinal ⇒ Object
6
7
8
|
# File 'lib/faker/default/compass.rb', line 6
def cardinal
fetch('compass.cardinal.word')
end
|
.cardinal_abbreviation ⇒ Object
34
35
36
|
# File 'lib/faker/default/compass.rb', line 34
def cardinal_abbreviation
fetch('compass.cardinal.abbreviation')
end
|
.cardinal_azimuth ⇒ Object
50
51
52
|
# File 'lib/faker/default/compass.rb', line 50
def cardinal_azimuth
fetch('compass.cardinal.azimuth')
end
|
.direction ⇒ Object
22
23
24
|
# File 'lib/faker/default/compass.rb', line 22
def direction
parse('compass.direction')
end
|
.half_wind ⇒ Object
14
15
16
|
# File 'lib/faker/default/compass.rb', line 14
def half_wind
fetch('compass.half-wind.word')
end
|
.half_wind_abbreviation ⇒ Object
42
43
44
|
# File 'lib/faker/default/compass.rb', line 42
def half_wind_abbreviation
fetch('compass.half-wind.abbreviation')
end
|
.half_wind_azimuth ⇒ Object
58
59
60
|
# File 'lib/faker/default/compass.rb', line 58
def half_wind_azimuth
fetch('compass.half-wind.azimuth')
end
|
.ordinal ⇒ Object
10
11
12
|
# File 'lib/faker/default/compass.rb', line 10
def ordinal
fetch('compass.ordinal.word')
end
|
.ordinal_abbreviation ⇒ Object
38
39
40
|
# File 'lib/faker/default/compass.rb', line 38
def ordinal_abbreviation
fetch('compass.ordinal.abbreviation')
end
|
.ordinal_azimuth ⇒ Object
54
55
56
|
# File 'lib/faker/default/compass.rb', line 54
def ordinal_azimuth
fetch('compass.ordinal.azimuth')
end
|
.quarter_wind ⇒ Object
18
19
20
|
# File 'lib/faker/default/compass.rb', line 18
def quarter_wind
fetch('compass.quarter-wind.word')
end
|
.quarter_wind_abbreviation ⇒ Object
46
47
48
|
# File 'lib/faker/default/compass.rb', line 46
def quarter_wind_abbreviation
fetch('compass.quarter-wind.abbreviation')
end
|
.quarter_wind_azimuth ⇒ Object
62
63
64
|
# File 'lib/faker/default/compass.rb', line 62
def quarter_wind_azimuth
fetch('compass.quarter-wind.azimuth')
end
|