class Faker::TvShows::StarTrek
Public Class Methods
character()
click to toggle source
Produces a character from Star Trek.
@return [String]
@example
Faker::TvShows::StarTrek.character #=> "Spock"
@faker.version 1.8.0
# File lib/faker/tv_shows/star_trek.rb, line 18 def character fetch('star_trek.character') end
location()
click to toggle source
Produces a location from Star Trek.
@return [String]
@example
Faker::TvShows::StarTrek.location #=> "Cardassia"
@faker.version 1.8.0
# File lib/faker/tv_shows/star_trek.rb, line 31 def location fetch('star_trek.location') end
specie()
click to toggle source
Produces a species from Star Trek.
@return [String]
@example
Faker::TvShows::StarTrek.specie #=> "Ferengi"
@faker.version 1.8.0
# File lib/faker/tv_shows/star_trek.rb, line 44 def specie fetch('star_trek.specie') end
villain()
click to toggle source
Produces a villain from Star Trek.
@return [String]
@example
Faker::TvShows::StarTrek.villain #=> "Khan Noonien Singh"
@faker.version 1.8.0
# File lib/faker/tv_shows/star_trek.rb, line 57 def villain fetch('star_trek.villain') end