Class: Faker::TvShows::SiliconValley

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/tv_shows/silicon_valley.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, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale

Class Method Details

.appString

Produces an app from Silicon Valley.

Examples:

Faker::TvShows::SiliconValley.app #=> "Nip Alert"

Returns:

  • (String)

Available since:

  • 1.8.5



58
59
60
# File 'lib/faker/tv_shows/silicon_valley.rb', line 58

def app
  fetch('silicon_valley.apps')
end

.characterString

Produces a character from Silicon Valley.

Examples:

Faker::TvShows::SiliconValley.character #=> "Jian Yang"

Returns:

  • (String)

Available since:

  • 1.8.5



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

def character
  fetch('silicon_valley.characters')
end

.companyString

Produces a company from Silicon Valley.

Examples:

Faker::TvShows::SiliconValley.company #=> "Bachmanity"

Returns:

  • (String)

Available since:

  • 1.8.5



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

def company
  fetch('silicon_valley.companies')
end

.emailString

Produces an email address from Silicon Valley.

Examples:

Faker::TvShows::SiliconValley.email #=> "[email protected]"

Returns:

  • (String)

Available since:

  • 1.9.0



112
113
114
# File 'lib/faker/tv_shows/silicon_valley.rb', line 112

def email
  fetch('silicon_valley.email')
end

.inventionString

Produces an invention from Silicon Valley.

Examples:

Faker::TvShows::SiliconValley.invention
  #=> "Tres Comas Tequila"

Returns:

  • (String)

Available since:

  • 1.8.5



72
73
74
# File 'lib/faker/tv_shows/silicon_valley.rb', line 72

def invention
  fetch('silicon_valley.inventions')
end

.mottoString

Produces a motto from Silicon Valley.

Examples:

Faker::TvShows::SiliconValley.motto
  #=> "Our products are products, producing unrivaled results"

Returns:

  • (String)

Available since:

  • 1.8.5



86
87
88
# File 'lib/faker/tv_shows/silicon_valley.rb', line 86

def motto
  fetch('silicon_valley.mottos')
end

.quoteString

Produces a quote from Silicon Valley.

Examples:

Faker::TvShows::SiliconValley.quote
  #=> "I don't want to live in a world where someone else is making the world a better place better than we are."

Returns:

  • (String)

Available since:

  • 1.8.5



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

def quote
  fetch('silicon_valley.quotes')
end

.urlString

Produces a URL from Silicon Valley.

Examples:

Faker::TvShows::SiliconValley.url #=> "http://www.piedpiper.com"

Returns:

  • (String)

Available since:

  • 1.8.5



99
100
101
# File 'lib/faker/tv_shows/silicon_valley.rb', line 99

def url
  fetch('silicon_valley.urls')
end