Sha256: e190526921ed9bcf86a59b64b534dce012eb2832b0bc6bb8d12564adadf8e298
Contents?: true
Size: 952 Bytes
Versions: 10
Compression:
Stored size: 952 Bytes
Contents
module Faker class Space < Base flexible :space class << self def planet fetch('space.planet') end def moon fetch('space.moon') end def galaxy fetch('space.galaxy') end def nebula fetch('space.nebula') end def star_cluster fetch('space.star_cluster') end def constellation fetch('space.constellation') end def star fetch('space.star') end def agency fetch('space.agency') end def agency_abv fetch('space.agency_abv') end def nasa_space_craft fetch('space.nasa_space_craft') end def company fetch('space.company') end def distance_measurement rand(10..100).to_s + ' ' + fetch('space.distance_measurement') end def meteorite fetch('space.meteorite') end end end end
Version data entries
10 entries across 10 versions & 1 rubygems