Class: Faker::Compass
- Inherits:
-
Base
- Object
- Base
- Faker::Compass
show all
- Defined in:
- lib/faker/compass.rb
Constant Summary
Constants inherited
from Base
Base::Letters, Base::Numbers, Base::ULetters
Class Method Summary
collapse
Methods inherited from Base
bothify, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, respond_to_missing?, sample, shuffle, translate, unique, with_locale
Class Method Details
.abbreviation ⇒ Object
24
25
26
|
# File 'lib/faker/compass.rb', line 24
def abbreviation
parse('compass.abbreviation')
end
|
.azimuth ⇒ Object
28
29
30
|
# File 'lib/faker/compass.rb', line 28
def azimuth
parse('compass.azimuth')
end
|
.cardinal ⇒ Object
4
5
6
|
# File 'lib/faker/compass.rb', line 4
def cardinal
fetch('compass.cardinal.word')
end
|
.cardinal_abbreviation ⇒ Object
32
33
34
|
# File 'lib/faker/compass.rb', line 32
def cardinal_abbreviation
fetch('compass.cardinal.abbreviation')
end
|
.cardinal_azimuth ⇒ Object
48
49
50
|
# File 'lib/faker/compass.rb', line 48
def cardinal_azimuth
fetch('compass.cardinal.azimuth')
end
|
.direction ⇒ Object
20
21
22
|
# File 'lib/faker/compass.rb', line 20
def direction
parse('compass.direction')
end
|
.half_wind ⇒ Object
12
13
14
|
# File 'lib/faker/compass.rb', line 12
def half_wind
fetch('compass.half-wind.word')
end
|
.half_wind_abbreviation ⇒ Object
40
41
42
|
# File 'lib/faker/compass.rb', line 40
def half_wind_abbreviation
fetch('compass.half-wind.abbreviation')
end
|
.half_wind_azimuth ⇒ Object
56
57
58
|
# File 'lib/faker/compass.rb', line 56
def half_wind_azimuth
fetch('compass.half-wind.azimuth')
end
|
.ordinal ⇒ Object
8
9
10
|
# File 'lib/faker/compass.rb', line 8
def ordinal
fetch('compass.ordinal.word')
end
|
.ordinal_abbreviation ⇒ Object
36
37
38
|
# File 'lib/faker/compass.rb', line 36
def ordinal_abbreviation
fetch('compass.ordinal.abbreviation')
end
|
.ordinal_azimuth ⇒ Object
52
53
54
|
# File 'lib/faker/compass.rb', line 52
def ordinal_azimuth
fetch('compass.ordinal.azimuth')
end
|
.quarter_wind ⇒ Object
16
17
18
|
# File 'lib/faker/compass.rb', line 16
def quarter_wind
fetch('compass.quarter-wind.word')
end
|
.quarter_wind_abbreviation ⇒ Object
44
45
46
|
# File 'lib/faker/compass.rb', line 44
def quarter_wind_abbreviation
fetch('compass.quarter-wind.abbreviation')
end
|
.quarter_wind_azimuth ⇒ Object
60
61
62
|
# File 'lib/faker/compass.rb', line 60
def quarter_wind_azimuth
fetch('compass.quarter-wind.azimuth')
end
|