Class: Faker::Space
- Inherits:
-
Base
show all
- Defined in:
- lib/faker/default/space.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
.agency ⇒ Object
35
36
37
|
# File 'lib/faker/default/space.rb', line 35
def agency
fetch('space.agency')
end
|
.agency_abv ⇒ Object
39
40
41
|
# File 'lib/faker/default/space.rb', line 39
def agency_abv
fetch('space.agency_abv')
end
|
.company ⇒ Object
47
48
49
|
# File 'lib/faker/default/space.rb', line 47
def company
fetch('space.company')
end
|
.constellation ⇒ Object
27
28
29
|
# File 'lib/faker/default/space.rb', line 27
def constellation
fetch('space.constellation')
end
|
.distance_measurement ⇒ Object
51
52
53
|
# File 'lib/faker/default/space.rb', line 51
def distance_measurement
rand(10..100).to_s + ' ' + fetch('space.distance_measurement')
end
|
.galaxy ⇒ Object
15
16
17
|
# File 'lib/faker/default/space.rb', line 15
def galaxy
fetch('space.galaxy')
end
|
.launch_vehicule ⇒ Object
59
60
61
|
# File 'lib/faker/default/space.rb', line 59
def launch_vehicule
fetch('space.launch_vehicule')
end
|
.meteorite ⇒ Object
55
56
57
|
# File 'lib/faker/default/space.rb', line 55
def meteorite
fetch('space.meteorite')
end
|
.moon ⇒ Object
11
12
13
|
# File 'lib/faker/default/space.rb', line 11
def moon
fetch('space.moon')
end
|
.nasa_space_craft ⇒ Object
43
44
45
|
# File 'lib/faker/default/space.rb', line 43
def nasa_space_craft
fetch('space.nasa_space_craft')
end
|
.nebula ⇒ Object
19
20
21
|
# File 'lib/faker/default/space.rb', line 19
def nebula
fetch('space.nebula')
end
|
.planet ⇒ Object
7
8
9
|
# File 'lib/faker/default/space.rb', line 7
def planet
fetch('space.planet')
end
|
.star ⇒ Object
31
32
33
|
# File 'lib/faker/default/space.rb', line 31
def star
fetch('space.star')
end
|
.star_cluster ⇒ Object
23
24
25
|
# File 'lib/faker/default/space.rb', line 23
def star_cluster
fetch('space.star_cluster')
end
|