1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
# Faker::Space
Available since version 1.6.4.
```ruby
# Random planet from our Solar System
Faker::Space.planet #=> "Venus"
# Random moon from our Solar System
Faker::Space.moon #=> "Europa"
# Random galaxy
Faker::Space.galaxy #=> "Andromeda"
# Random nebula name
Faker::Space.nebula #=> "Triffid Nebula"
# Random star cluster
Faker::Space.star_cluster #=> "Messier 70"
# Random constellation
Faker::Space.constellation #=> "Orion"
# Random star
Faker::Space.star #=> "Proxima Centauri"
# Random national space agency
Faker::Space.agency #=> "Japan Aerospace Exploration Agency"
# Random space agency abbreviation
Faker::Space.agency_abv #=> "NASA"
# Random spacecraft name (limited to NASA)
Faker::Space.nasa_space_craft #=> "Endeavour"
# Random private space company title
Faker::Space.company #=> "SpaceX"
# Random unit of stellar distance with number
Faker::Space.distance_measurement #=> "15 parsecs"
# Random meteorite name
Faker::Space.meteorite #=> "Ensisheim"
# Random launch vehicle name
Faker::Space.launch_vehicle #=> "Saturn IV"
```
|