Class: Faker::TvShows::TheFreshPrinceOfBelAir

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/tv_shows/the_fresh_prince_of_bel_air.rb

Constant Summary

Constants inherited from Base

Base::LLetters, Base::Letters, Base::NOT_GIVEN, 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

.celebrityString

Produces a celebrity from The Fresh Prince of Bel-Air.

Examples:

Faker::TvShows::TheFreshPrinceOfBelAir.celebrity #=> "Quincy Jones"

Returns:

  • (String)

Available since:

  • 1.8.3


31
32
33
# File 'lib/faker/tv_shows/the_fresh_prince_of_bel_air.rb', line 31

def celebrity
  fetch('the_fresh_prince_of_bel_air.celebrities')
end

.characterString

Produces a character from The Fresh Prince of Bel-Air.

Examples:

Faker::TvShows::TheFreshPrinceOfBelAir.character #=> "Will Smith"

Returns:

  • (String)

Available since:

  • 1.8.3


18
19
20
# File 'lib/faker/tv_shows/the_fresh_prince_of_bel_air.rb', line 18

def character
  fetch('the_fresh_prince_of_bel_air.characters')
end

.quoteString

Produces a quote from The Fresh Prince of Bel-Air.

Examples:

Faker::TvShows::TheFreshPrinceOfBelAir.quote
  #=> "Girl, you look so good, I would marry your brother just to get in your family."

Returns:

  • (String)

Available since:

  • 1.8.3


45
46
47
# File 'lib/faker/tv_shows/the_fresh_prince_of_bel_air.rb', line 45

def quote
  fetch('the_fresh_prince_of_bel_air.quotes')
end