Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add YARD docs for all remaining TV Shows #1759

Merged
merged 31 commits into from Sep 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
bc2ec7c
Add YARD docs for Faker::Music::UmphreysMcgee
connorshea Sep 20, 2019
3f8c471
Add YARD docs for Buffy the Vampire Slayer.
connorshea Sep 20, 2019
20a7521
Add YARD docs for Aqua Teen Hunger Force.
connorshea Sep 20, 2019
b888f42
Add YARD docs for BoJack Horseman.
connorshea Sep 20, 2019
e3b4bdb
Add YARD docs for Community.
connorshea Sep 21, 2019
998edf6
Add YARD docs for Hey Arnold!
connorshea Sep 21, 2019
df82ed5
Add YARD docs for Family Guy.
connorshea Sep 21, 2019
302a30e
Add YARD docs for Friends.
connorshea Sep 21, 2019
a0c0504
Add YARD docs for Game of Thrones.
connorshea Sep 21, 2019
fe7fd57
Add YARD docs for How I Met Your Mother.
connorshea Sep 21, 2019
f6f5ffd
Add YARD docs for Michael Scott.
connorshea Sep 21, 2019
88a629c
Fix some Rubocop warnings.
connorshea Sep 21, 2019
7b1e178
Add YARD docs for New Girl.
connorshea Sep 21, 2019
bcda93b
Add YARD docs for Parks and Recreation.
connorshea Sep 21, 2019
0d19e79
Add YARD docs for Rick and Morty.
connorshea Sep 21, 2019
9eb9b7d
Add YARD docs for RuPaul's Drag Race.
connorshea Sep 21, 2019
edb65dd
Add YARD docs for Seinfeld.
connorshea Sep 21, 2019
5bf34f5
Add YARD docs for Silicon Valley.
connorshea Sep 21, 2019
900728e
Add YARD docs for The Simpsons
connorshea Sep 21, 2019
40880b7
Add YARD docs for South Park.
connorshea Sep 21, 2019
15f1c9b
Add YARD docs for Star Trek.
connorshea Sep 21, 2019
8cd365b
Add YARD docs for Stargate.
connorshea Sep 21, 2019
74469ec
Add YARD docs for Stranger Things.
connorshea Sep 21, 2019
7a58052
Add YARD docs for The Expanse.
connorshea Sep 21, 2019
cd06c80
Add YARD docs for The Fresh Prince of Bel-Air.
connorshea Sep 21, 2019
83b39b2
Add YARD docs for The IT Crowd.
connorshea Sep 21, 2019
7118cd9
Add YARD docs for The Thick of It.
connorshea Sep 21, 2019
29fa3ff
Add YARD docs for Twin Peaks.
connorshea Sep 21, 2019
0a13873
Add YARD docs for The Venture Bros.
connorshea Sep 21, 2019
7af2b5e
Add YARD docs for Dumb and Dumber.
connorshea Sep 21, 2019
5ef0df6
Fix grammar in Star Trek.
connorshea Sep 21, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions lib/faker/music/umphreys_mcgee.rb
Expand Up @@ -4,6 +4,15 @@ module Faker
class Music
class UmphreysMcgee < Base
class << self
##
# Produces the name of a song by Umphrey's McGee.
#
# @return [String]
#
# @example
# Faker::Music::UmphreysMcgee.song #=> "Dump City"
#
# @faker.version 1.8.3
def song
fetch('umphreys_mcgee.song')
end
Expand Down
9 changes: 9 additions & 0 deletions lib/faker/tv_shows/aqua_teen_hunger_force.rb
Expand Up @@ -6,6 +6,15 @@ class AquaTeenHungerForce < Base
flexible :aqua_teen_hunger_force

class << self
##
# Produces a character from Aqua Teen Hunger Force.
#
# @return [String]
#
# @example
# Faker::TvShows::AquaTeenHungerForce.character #=> "Master Shake"
#
# @faker.version 1.8.5
def character
fetch('aqua_teen_hunger_force.character')
end
Expand Down
28 changes: 28 additions & 0 deletions lib/faker/tv_shows/bojack_horseman.rb
Expand Up @@ -6,14 +6,42 @@ class BojackHorseman < Base
flexible :bojack_horseman

class << self
##
# Produces a character from BoJack Horseman.
#
# @return [String]
#
# @example
# Faker::TvShows::BojackHorseman.character #=> "BoJack Horseman"
#
# @faker.version 1.9.0
def character
fetch('bojack_horseman.characters')
end

##
# Produces a tongue twister from BoJack Horseman.
#
# @return [String]
#
# @example
# Faker::TvShows::BojackHorseman.tongue_twister #=> "Did you steal a meal from Neal McBeal the Navy Seal?"
#
# @faker.version 1.9.0
def tongue_twister
fetch('bojack_horseman.tongue_twisters')
end

##
# Produces a quote from BoJack Horseman.
#
# @return [String]
#
# @example
# Faker::TvShows::BojackHorseman.quote
# #=> "Not understanding that you're a horrible person doesn't make you less of a horrible person."
#
# @faker.version 1.9.0
def quote
fetch('bojack_horseman.quotes')
end
Expand Down
45 changes: 45 additions & 0 deletions lib/faker/tv_shows/buffy.rb
Expand Up @@ -6,22 +6,67 @@ class Buffy < Base
flexible :buffy

class << self
##
# Produces a character from Buffy the Vampire Slayer.
#
# @return [String]
#
# @example
# Faker::TvShows::Buffy.character #=> "Buffy Summers"
#
# @faker.version 1.9.2
def character
fetch('buffy.characters')
end

##
# Produces a quote from Buffy the Vampire Slayer.
#
# @return [String]
#
# @example
# Faker::TvShows::Buffy.quote #=> "If the apocalypse comes, beep me."
#
# @faker.version 1.9.2
def quote
fetch('buffy.quotes')
end

##
# Produces a celebrity from Buffy the Vampire Slayer.
#
# @return [String]
#
# @example
# Faker::TvShows::Buffy.celebrity #=> "John Ritter"
#
# @faker.version 1.9.2
def celebrity
fetch('buffy.celebrities')
end

##
# Produces a big bad from Buffy the Vampire Slayer.
#
# @return [String]
#
# @example
# Faker::TvShows::Buffy.big_bad #=> "Glory"
#
# @faker.version 1.9.2
def big_bad
fetch('buffy.big_bads')
end

##
# Produces an episode from Buffy the Vampire Slayer.
#
# @return [String]
#
# @example
# Faker::TvShows::Buffy.episode #=> "Once More, with Feeling"
#
# @faker.version 1.9.2
def episode
fetch('buffy.episodes')
end
Expand Down
19 changes: 19 additions & 0 deletions lib/faker/tv_shows/community.rb
Expand Up @@ -6,10 +6,29 @@ class Community < Base
flexible :community

class << self
##
# Produces a character from Community.
#
# @return [String]
#
# @example
# Faker::TvShows::Community.characters #=> "Jeff Winger"
#
# @faker.version 1.9.0
def characters
fetch('community.characters')
end

##
# Produces a quote from Community.
#
# @return [String]
#
# @example
# Faker::TvShows::Community.quotes
# #=> "I fear a political career could shine a negative light on my drug dealing."
#
# @faker.version 1.9.0
def quotes
fetch('community.quotes')
end
Expand Down
28 changes: 28 additions & 0 deletions lib/faker/tv_shows/dumb_and_dumber.rb
Expand Up @@ -6,14 +6,42 @@ class DumbAndDumber < Base
flexible :dumb_and_dumber

class << self
##
# Produces an actor from Dumb and Dumber.
#
# @return [String]
#
# @example
# Faker::TvShows::DumbAndDumber.actor #=> "Jim Carrey"
#
# @faker.version 1.8.5
def actor
fetch('dumb_and_dumber.actors')
end

##
# Produces a character from Dumb and Dumber.
#
# @return [String]
#
# @example
# Faker::TvShows::DumbAndDumber.character #=> "Harry Dunne"
#
# @faker.version 1.8.5
def character
fetch('dumb_and_dumber.characters')
end

##
# Produces a quote from Dumb and Dumber.
#
# @return [String]
#
# @example
# Faker::TvShows::DumbAndDumber.quote
# #=> "Why you going to the airport? Flying somewhere?"
#
# @faker.version 1.8.5
def quote
fetch('dumb_and_dumber.quotes')
end
Expand Down
28 changes: 28 additions & 0 deletions lib/faker/tv_shows/family_guy.rb
Expand Up @@ -6,14 +6,42 @@ class FamilyGuy < Base
flexible :family_guy

class << self
##
# Produces a character from Family Guy.
#
# @return [String]
#
# @example
# Faker::TvShows::FamilyGuy.character #=> "Peter Griffin"
#
# @faker.version 1.8.0
def character
fetch('family_guy.character')
end

##
# Produces a location from Family Guy.
#
# @return [String]
#
# @example
# Faker::TvShows::FamilyGuy.location #=> "James Woods High"
#
# @faker.version 1.8.0
def location
fetch('family_guy.location')
end

##
# Produces a quote from Family Guy.
#
# @return [String]
#
# @example
# Faker::TvShows::FamilyGuy.quote
# #=> "It's Peanut Butter Jelly Time."
#
# @faker.version 1.8.0
def quote
fetch('family_guy.quote')
end
Expand Down
27 changes: 27 additions & 0 deletions lib/faker/tv_shows/friends.rb
Expand Up @@ -6,14 +6,41 @@ class Friends < Base
flexible :friends

class << self
##
# Produces a character from Friends.
#
# @return [String]
#
# @example
# Faker::TvShows::Friends.character #=> "Rachel Green"
#
# @faker.version 1.7.3
def character
fetch('friends.characters')
end

##
# Produces a location from Friends.
#
# @return [String]
#
# @example
# Faker::TvShows::Friends.location #=> "Central Perk"
#
# @faker.version 1.7.3
def location
fetch('friends.locations')
end

##
# Produces a quote from Friends.
#
# @return [String]
#
# @example
# Faker::TvShows::Friends.quote #=> "We were on a break!"
#
# @faker.version 1.7.3
def quote
fetch('friends.quotes')
end
Expand Down
46 changes: 46 additions & 0 deletions lib/faker/tv_shows/game_of_thrones.rb
Expand Up @@ -6,22 +6,68 @@ class GameOfThrones < Base
flexible :game_of_thrones

class << self
##
# Produces a character from Game of Thrones.
#
# @return [String]
#
# @example
# Faker::TvShows::GameOfThrones.character #=> "Tyrion Lannister"
#
# @faker.version 1.6.6
def character
fetch('game_of_thrones.characters')
end

##
# Produces a house from Game of Thrones.
#
# @return [String]
#
# @example
# Faker::TvShows::GameOfThrones.house #=> "Stark"
#
# @faker.version 1.6.6
def house
fetch('game_of_thrones.houses')
end

##
# Produces a city from Game of Thrones.
#
# @return [String]
#
# @example
# Faker::TvShows::GameOfThrones.city #=> "Lannisport"
#
# @faker.version 1.6.6
def city
fetch('game_of_thrones.cities')
end

##
# Produces a quote from Game of Thrones.
#
# @return [String]
#
# @example
# Faker::TvShows::GameOfThrones.quote
# #=> "Never forget who you are. The rest of the world won't. Wear it like an armor and it can never be used against you."
#
# @faker.version 1.6.6
def quote
fetch('game_of_thrones.quotes')
end

##
# Produces a dragon from Game of Thrones.
#
# @return [String]
#
# @example
# Faker::TvShows::GameOfThrones.dragon #=> "Drogon"
#
# @faker.version 1.6.6
def dragon
fetch('game_of_thrones.dragons')
end
Expand Down