Class: Faker::Space
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_in_range, regexify, translate, with_locale
Class Method Details
.agency ⇒ Object
33
34
35
|
# File 'lib/faker/space.rb', line 33
def agency
fetch('space.agency')
end
|
.agency_abv ⇒ Object
37
38
39
|
# File 'lib/faker/space.rb', line 37
def agency_abv
fetch('space.agency_abv')
end
|
.company ⇒ Object
45
46
47
|
# File 'lib/faker/space.rb', line 45
def company
fetch('space.company')
end
|
.constellation ⇒ Object
25
26
27
|
# File 'lib/faker/space.rb', line 25
def constellation
fetch('space.constellation')
end
|
.distance_measurement ⇒ Object
49
50
51
|
# File 'lib/faker/space.rb', line 49
def distance_measurement
rand(10..100).to_s + ' ' + fetch('space.distance_measurement')
end
|
.galaxy ⇒ Object
13
14
15
|
# File 'lib/faker/space.rb', line 13
def galaxy
fetch('space.galaxy')
end
|
.moon ⇒ Object
9
10
11
|
# File 'lib/faker/space.rb', line 9
def moon
fetch('space.moon')
end
|
.nasa_space_craft ⇒ Object
41
42
43
|
# File 'lib/faker/space.rb', line 41
def nasa_space_craft
fetch('space.nasa_space_craft')
end
|
.nebula ⇒ Object
17
18
19
|
# File 'lib/faker/space.rb', line 17
def nebula
fetch('space.nebula')
end
|
.planet ⇒ Object
5
6
7
|
# File 'lib/faker/space.rb', line 5
def planet
fetch('space.planet')
end
|
.star ⇒ Object
29
30
31
|
# File 'lib/faker/space.rb', line 29
def star
fetch('space.star')
end
|
.star_cluster ⇒ Object
21
22
23
|
# File 'lib/faker/space.rb', line 21
def star_cluster
fetch('space.star_cluster')
end
|