source
stringclasses
1 value
repo
stringlengths
5
63
repo_url
stringlengths
24
82
path
stringlengths
5
167
language
stringclasses
1 value
license
stringclasses
5 values
stars
int64
10
51.4k
ref
stringclasses
23 values
size_bytes
int64
200
258k
text
stringlengths
137
258k
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/superhero.rb
Ruby
mit
11,598
main
1,398
# frozen_string_literal: true module Faker class Superhero < Base class << self ## # Produces a superpower. # # @return [String] # # @example # Faker::Superhero.power #=> "Photokinesis" # # @faker.version 1.6.2 def power fetch('superhero.power...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/dc_comics.rb
Ruby
mit
11,598
main
1,301
# frozen_string_literal: true module Faker class DcComics < Base ## # Produces a hero name from DC Comics # # @return [String] # # @example # Faker::DcComics.hero #=> "Batman" # # @faker.version 1.9.2 def self.hero fetch('dc_comics.hero') end ## # Produces...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/crypto_coin.rb
Ruby
mit
11,598
main
1,867
# frozen_string_literal: true module Faker class CryptoCoin < Base class << self COIN_NAME = 0 ACRONYM = 1 URL_LOGO = 2 ## # Produces a random crypto coin name. # # @return [String] # # @example # Faker::CryptoCoin.coin_name #=> "Bitcoin" # ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/camera.rb
Ruby
mit
11,598
main
852
# frozen_string_literal: true module Faker class Camera < Base class << self ## # Produces a brand of a camera # # @return [String] # # @example # Faker::Camera.brand #=> "Canon" # # @faker.version next def brand fetch('camera.brand') en...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/color.rb
Ruby
mit
11,598
main
4,561
# frozen_string_literal: true module Faker class Color < Base class << self LIGHTNESS_LOOKUP = { light: 0.8, dark: 0.2 }.freeze ## # Produces a hex color code. # Clients are able to specify the hue, saturation, or lightness of the required color. # Alternativel...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/chuck_norris.rb
Ruby
mit
11,598
main
605
# frozen_string_literal: true module Faker class ChuckNorris < Base flexible :chuck_norris class << self ## # Produces a Chuck Norris Fact. # Original list of facts: # https://github.com/jenkinsci/chucknorris-plugin/blob/master/src/main/java/hudson/plugins/chucknorris/FactGenerator.j...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/funny_name.rb
Ruby
mit
11,598
main
1,969
# frozen_string_literal: true module Faker class FunnyName < Base flexible :funny_name class << self ## # Retrieves a funny name. # # @return [String] # # @example # Faker::FunnyName.name #=> "Sam Pull" # # @faker.version 1.8.0 def name f...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/programming_language.rb
Ruby
mit
11,598
main
705
# frozen_string_literal: true module Faker class ProgrammingLanguage < Base class << self ## # Produces the name of a programming language. # # @return [String] # # @example # Faker::ProgrammingLanguage.name #=> "Ruby" # # @faker.version 1.8.5 def nam...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/time.rb
Ruby
mit
11,598
main
5,829
# frozen_string_literal: true module Faker class Time < Base TIME_RANGES = { all: (0..23), day: (9..17), night: (18..23), morning: (6..11), afternoon: (12..17), evening: (17..21), midnight: (0..4) }.freeze class << self ## # Produce a random time bet...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/movie.rb
Ruby
mit
11,598
main
623
# frozen_string_literal: true module Faker class Movie < Base class << self ## # Produces a title from a movie. # # @return [String] # # @example # Faker::Movie.title #=> "The Lord of the Rings: The Two Towers" # # @faker.version 2.13.0 def title ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/json.rb
Ruby
mit
11,598
main
5,168
# frozen_string_literal: true module Faker class Json < Base require 'json' class << self ## # Produces a random simple JSON formatted string. # # @param width [Integer] Specifies the number of key-value pairs. # @param options [Hash] Specifies a Faker gem class to use for keys...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/date.rb
Ruby
mit
11,598
main
7,255
# frozen_string_literal: true module Faker class Date < Base DAYS_OF_WEEK = %i[sunday monday tuesday wednesday thursday friday saturday].freeze class << self ## # Produce a random date between two dates. # # @param from [Date, String] The start of the usable date range. # @para...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/blood.rb
Ruby
mit
11,598
main
852
# frozen_string_literal: true module Faker class Blood < Base flexible :blood class << self ## # Produces a random blood type. # # @return [String] # # @example # Faker::Blood.type #=> "AB" # # @faker.version 2.13.0 def type fetch('blood....
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/x.rb
Ruby
mit
11,598
main
5,498
# frozen_string_literal: true module Faker class X < Base class << self ## # Produces a random X user based on X's v2 API. # # @return [Hash] # # @example # Faker::X.user #=> { data: [{:id=>"8821452687517076614", :name=>"Lincoln Paucek", :screen_name=>"cody"... ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/dessert.rb
Ruby
mit
11,598
main
912
# frozen_string_literal: true module Faker class Dessert < Base flexible :dessert class << self ## # Produces the name of a dessert variety. # # @return [String] # # @example # Faker::Dessert.variety #=> "Cake" # # @faker.version 1.8.0 def variet...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/appliance.rb
Ruby
mit
11,598
main
652
# frozen_string_literal: true module Faker class Appliance < Base class << self ## # Produces the name of an appliance brand. # # @return [String] # # @example # Faker::Appliance.brand #=> "Bosch" # # @faker.version 1.9.0 def brand fetch('appl...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/restaurant.rb
Ruby
mit
11,598
main
1,443
# frozen_string_literal: true module Faker class Restaurant < Base flexible :restaurant class << self ## # Produces the name of a restaurant. # # @return [String] # # @example # Faker::Restaurant.name #=> "Curry King" # # @faker.version 1.9.2 def...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/html.rb
Ruby
mit
11,598
main
8,283
# frozen_string_literal: true module Faker class HTML < Base class << self ## # Produces a random HTML header format. # # @return [String] # # @example # Faker::HTML.heading #=> "<h5>Autem</h5>" # # @faker.version 3.2.1 def heading level = ran...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/team.rb
Ruby
mit
11,598
main
1,335
# frozen_string_literal: true module Faker class Team < Base flexible :team class << self ## # Produces a team name from a state and a creature. # # @return [String] # # @example # Faker::Team.name #=> "Oregon vixens" # # @faker.version 1.3.0 def...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/computer.rb
Ruby
mit
11,598
main
1,462
# frozen_string_literal: true module Faker class Computer < Base class << self ## # Produces the name of a computer platform. # # @return [String] # # @example # Faker::Computer.platform #=> "Linux" # # @faker.version 2.12.0 def platform fetch...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/industry_segments.rb
Ruby
mit
11,598
main
1,350
# frozen_string_literal: true module Faker class IndustrySegments < Base flexible :industry_segments class << self ## # Produces the name of an industry. # # @return [String] # # @example # Faker::IndustrySegments.industry #=> "Basic Materials" # # @fa...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/coffee.rb
Ruby
mit
11,598
main
1,740
# frozen_string_literal: true module Faker class Coffee < Base flexible :coffee class << self ## # Produces a random blend name. # # @return [String] # # @example # Faker::Coffee.blend_name #=> "Major Java" # # @faker.version 1.9.0 def blend_name...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/barcode.rb
Ruby
mit
11,598
main
4,536
# frozen_string_literal: true module Faker class Barcode < Base class << self ## # Returns a EAN 8 or 13 digit format barcode number with check digit # @return [String] # # @example # Faker::Barcode.ean => "85657526" # Faker::Barcode.ean(8) => "30152700"...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/demographic.rb
Ruby
mit
11,598
main
2,110
# frozen_string_literal: true module Faker class Demographic < Base class << self ## # Produces the name of a race. # # @return [String] # # @example # Faker::Demographic.race #=> "Native Hawaiian or Other Pacific Islander" # # @faker.version 1.7.3 de...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/quote.rb
Ruby
mit
11,598
main
3,044
# frozen_string_literal: true module Faker class Quote < Base class << self ## # Produces a famous last words quote. # # @return [String] # # @example # Faker::Quote.famous_last_words #=> "My vocabulary did this to me. Your love will let you go on..." # # @...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/cosmere.rb
Ruby
mit
11,598
main
2,550
# frozen_string_literal: true module Faker class Cosmere < Base flexible :cosmere class << self ## # Produces a random aon. # # @return [String] # # @example # Faker::Cosmere.aon #=> "Rao" # # @faker.version 1.9.2 def aon sample(aons) ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/house.rb
Ruby
mit
11,598
main
613
# frozen_string_literal: true module Faker class House < Base class << self ## # Produces the name of a piece of furniture. # # @return [String] # # @example # Faker::House.furniture #=> "chair" # # @faker.version 1.9.2 def furniture fetch('ho...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/kpop.rb
Ruby
mit
11,598
main
1,690
# frozen_string_literal: true module Faker class Kpop < Base class << self ## # Produces the name of a 1990's 'OG' K-Pop group. # # @return [String] # # @example # Faker::Kpop.i_groups #=> "Seo Taiji and Boys" # # @faker.version 1.8.5 def i_groups ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/id_number.rb
Ruby
mit
11,598
main
13,701
# frozen_string_literal: true module Faker class IdNumber < Base CHECKS = 'TRWAGMYFPDXBNJZSQVHLCKE' INVALID_SSN = [ /0{3}-\d{2}-\d{4}/, /\d{3}-0{2}-\d{4}/, /\d{3}-\d{2}-0{4}/, /666-\d{2}-\d{4}/, /9\d{2}-\d{2}-\d{4}/ ].freeze ZA_RACE_DIGIT = '8' ZA_CITIZENSHIP_DIGITS ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/name.rb
Ruby
mit
11,598
main
3,325
# frozen_string_literal: true module Faker class Name < Base flexible :name class << self ## # Produces a random name. # # @return [String] # # @example # Faker::Name.name #=> "Tyshawn Johns Sr." # # @faker.version 0.9.0 def name parse('n...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/lorem_flickr.rb
Ruby
mit
11,598
main
5,828
# frozen_string_literal: true module Faker class LoremFlickr < Base class << self SUPPORTED_COLORIZATIONS = %w[red green blue].freeze ## # Produces a random image URL from loremflickr.com. # # @param size [String] Specifies the size of image to generate. # @param search_terms...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/subscription.rb
Ruby
mit
11,598
main
1,391
# frozen_string_literal: true module Faker class Subscription < Base ## # Produces the name of a subscription plan. # # @return [String] # # @example # Faker::Subscription.plan #=> "Platinum" # # @faker.version 1.9.2 def self.plan fetch('subscription.plans') end ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/company.rb
Ruby
mit
11,598
main
20,044
# frozen_string_literal: true module Faker class Company < Base flexible :company class << self ## # Produces a company name. # # @return [String] # # @example # Faker::Company.name #=> "Roberts Inc" # # @faker.version 1.6.0 def name pars...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/tea.rb
Ruby
mit
11,598
main
929
# frozen_string_literal: true module Faker class Tea < Base flexible :tea class << self ## # Produces a random variety or blend of tea. # # @param type [String, nil] the type of tea to query for (valid types: 'Black', 'Green', 'Oolong', 'White', and 'Herbal') # @return [String]...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/construction.rb
Ruby
mit
11,598
main
1,649
# frozen_string_literal: true module Faker class Construction < Base ## # Produces a random material. # # @return [String] # # @example # Faker::Construction.material #=> "Wood" # # @faker.version 1.9.2 def self.material fetch('construction.materials') end ## ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/vehicle.rb
Ruby
mit
11,598
main
9,248
# frozen_string_literal: true module Faker class Vehicle < Base flexible :vehicle MILEAGE_MIN = 10_000 MILEAGE_MAX = 90_000 VIN_KEYSPACE = %w[A B C D E F G H J K L M N P R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9].freeze VIN_TRANSLITERATION = { A: 1, B: 2, C: 3, D: 4, E: 5, F: 6, G: 7, H: 8, J: 1, K:...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/default/slack_emoji.rb
Ruby
mit
11,598
main
2,751
# frozen_string_literal: true module Faker class SlackEmoji < Base class << self ## # Produces a random slack emoji from people category. # # @return [String] # # @example # Faker::SlackEmoji.people #=> ":sleepy:" # # @faker.version 1.5.0 def people ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/music/rock_band.rb
Ruby
mit
11,598
main
680
# frozen_string_literal: true module Faker class Music class RockBand < Base class << self ## # Produces the name of a rock band. # # @return [String] # # @example # Faker::Music::RockBand.name #=> "Led Zeppelin" # # @faker.version 1...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/music/bossa_nova.rb
Ruby
mit
11,598
main
717
# frozen_string_literal: true module Faker class Music class BossaNova < Base class << self ## # Produces the name of a bossa nova artist. # # @return [String] # # @example # Faker::Music::BossaNova.artist #=> "Tom Jobin" # # @faker....
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/music/hiphop.rb
Ruby
mit
11,598
main
1,012
# frozen_string_literal: true module Faker class Music class Hiphop < Base class << self ## # Produces the name of a Hip Hop Artist # # @return [String] # # @example # Faker::Music::Hiphop.artist #=> "Lil Wayne" # # @faker.version ne...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/music/pearl_jam.rb
Ruby
mit
11,598
main
1,043
# frozen_string_literal: true module Faker class Music class PearlJam < Base class << self ## # Produces the name of a member of Pearl Jam (current and former) # # @return [String] # # @example # Faker::Music::PearlJam.musician #=> "Eddie Vedder" ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/music/smashing_pumpkins.rb
Ruby
mit
11,598
main
1,607
# frozen_string_literal: true module Faker class Music class SmashingPumpkins < Base class << self ## # Produces the name of a member of the Smashing Pumpkins (current and former) # # @return [String] # # @example # Faker::Music::SmashingPumpkins.mu...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/music/umphreys_mcgee.rb
Ruby
mit
11,598
main
442
# frozen_string_literal: true 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" # ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/music/prince.rb
Ruby
mit
11,598
main
1,594
# frozen_string_literal: true module Faker class Music class Prince < Base class << self ## # Produces a random Prince song. # # @return [String] # # @example # Faker::Music::Prince.song #=> "Raspberry Beret" # Faker::Music::Prince.song #=...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/music/rush.rb
Ruby
mit
11,598
main
699
# frozen_string_literal: true module Faker class Music class Rush < Base class << self ## # Produces the name of a member of Rush # # @return [String] # # @example # Faker::Music::Rush.player #=> "Geddy Lee" # # @faker.version 2.13.0...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/music/phish.rb
Ruby
mit
11,598
main
989
# frozen_string_literal: true module Faker class Music class Phish < Base class << self ## # Produces the name of a album by Phish. # # @return [String] # # @example # Faker::Music::Phish.album #=> "Fuego" # # @faker.version 2.13.0 ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/music/opera.rb
Ruby
mit
11,598
main
7,595
# frozen_string_literal: true module Faker # A generator of titles of operas by various composers class Music class Opera < Base class << self ## # Produces the title of an opera by Giuseppe Verdi. # # @return [String] # # @example # Faker::Music:...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/music/grateful_dead.rb
Ruby
mit
11,598
main
758
# frozen_string_literal: true module Faker class Music class GratefulDead < Base class << self ## # Produces the name of a member of The Grateful Dead. # # @return [String] # # @example # Faker::Music::GratefulDead.player #=> "Jerry Garcia" ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/sports/football.rb
Ruby
mit
11,598
main
1,634
# frozen_string_literal: true module Faker class Sports class Football < Base class << self ## # Produces the name of a football team. # # @return [String] # # @example # Faker::Sports::Football.team #=> "Manchester United" # # @fake...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/sports/mountaineering.rb
Ruby
mit
11,598
main
456
# frozen_string_literal: true module Faker class Sports class Mountaineering < Base class << self ## # Produces the name of a Mountaineer. # # @return [String] # # @example # Faker::Sports::Mountaineering.mountaineer #=> "Junko Tabei" # ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/sports/chess.rb
Ruby
mit
11,598
main
2,207
# frozen_string_literal: true module Faker class Sports class Chess < Base class << self ## # Produces the name of a chess player name. # # @return [String] # # @example # Faker::Sports::Chess.player #=> "Golden State Warriors" # # @...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/sports/basketball.rb
Ruby
mit
11,598
main
1,348
# frozen_string_literal: true module Faker class Sports class Basketball < Base class << self ## # Produces the name of a basketball team. # # @return [String] # # @example # Faker::Sports::Basketball.team #=> "Golden State Warriors" # ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/sports/volleyball.rb
Ruby
mit
11,598
main
1,628
# frozen_string_literal: true module Faker class Sports class Volleyball < Base class << self ## # Produces the name of a volleyball team. # # @return [String] # # @example # Faker::Sports::Volleyball.team #=> "Leo Shoes Modena" # # ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/dnd.rb
Ruby
mit
11,598
main
4,250
# frozen_string_literal: true module Faker class Games class DnD < Base class << self ## # Produces the name of an alignment from Dungeons and Dragons. # # @return [String] # # @example # Faker::Games::DnD.alignment #=> "Lawful Neutral" # ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/pokemon.rb
Ruby
mit
11,598
main
998
# frozen_string_literal: true module Faker class Games class Pokemon < Base class << self ## # Produces the name of a Pokemon. # # @return [String] # # @example # Faker::Games::Pokemon.name #=> "Pikachu" # # @faker.version 1.7.0 ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/overwatch.rb
Ruby
mit
11,598
main
1,041
# frozen_string_literal: true module Faker class Games class Overwatch < Base class << self ## # Produces the name of a hero from Overwatch. # # @return [String] # # @example # Faker::Games::Overwatch.hero #=> "Tracer" # # @faker.ver...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/elder_scrolls.rb
Ruby
mit
11,598
main
3,483
# frozen_string_literal: true module Faker class Games class ElderScrolls < Base class << self ## # Produces the name of a race from the Elder Scrolls universe. # # @return [String] # # @example # Faker::Games::ElderScrolls.race #=> "Argonian" ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/league_of_legends.rb
Ruby
mit
11,598
main
2,108
# frozen_string_literal: true module Faker class Games class LeagueOfLegends < Base class << self ## # Produces the name of a champion from League of Legends. # # @return [String] # # @example # Faker::Games::LeagueOfLegends.champion #=> "Jarvan IV"...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/tarkov.rb
Ruby
mit
11,598
main
5,058
# frozen_string_literal: true module Faker class Games class Tarkov < Base class << self ## # Produces a random location from Escape from Tarkov. # # @return [String] # # @example # Faker::Games::Tarkov.location #=> "Customs" # # @fa...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/clash_of_clans.rb
Ruby
mit
11,598
main
1,125
# frozen_string_literal: true module Faker class Games class ClashOfClans < Base class << self ## # Produces the name of a troop from Clash of Clans. # # @return [String] # # @example # Faker::Games::ClashOfClans.troop #=> "Barbarian" # ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/dota.rb
Ruby
mit
11,598
main
2,081
# frozen_string_literal: true module Faker class Games class Dota < Base class << self ## # Produces the name of a building from Dota. # # @return [String] # # @example # Faker::Games::Dota.building #=> "Tower" # # @faker.version 1.9...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/myst.rb
Ruby
mit
11,598
main
1,674
# frozen_string_literal: true module Faker class Games class Myst < Base class << self ## # Produces the name of a game from the Myst series. # # @return [String] # # @example # Faker::Games::Myst.game #=> "Myst III: Exile" # # @fake...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/control.rb
Ruby
mit
11,598
main
2,796
# frozen_string_literal: true module Faker class Games class Control < Base class << self ## # Produces the name of a character from Control. # # @return [String] # # @example # Faker::Games::Control.character #=> "Jesse Faden" # # @...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/final_fantasy_xiv.rb
Ruby
mit
11,598
main
1,804
# frozen_string_literal: true module Faker class Games class FinalFantasyXIV < Base class << self ## # Produces the name of a character from FFXIV. # # @return [String] # # @example # Faker::Games::FinalFantasyXIV.character #=> "Y'shtola Rhul" ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/world_of_warcraft.rb
Ruby
mit
11,598
main
1,441
# frozen_string_literal: true module Faker class Games class WorldOfWarcraft < Base class << self ## # Produces the name of a hero from World of Warcraft. # # @return [String] # # @example # Faker::Games::WorldOfWarcraft.hero #=> "Uther the Lightbri...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/minecraft.rb
Ruby
mit
11,598
main
2,642
# frozen_string_literal: true module Faker class Games class Minecraft < Base class << self ## # Produces the name of an achievement from Minecraft. # # @return [String] # # @example # Faker::Games::Minecraft.achievement #=> "Time to Mine!" ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/super_mario.rb
Ruby
mit
11,598
main
1,072
# frozen_string_literal: true module Faker class Games class SuperMario < Base class << self ## # Produces the name of a Super Mario character. # # @return [String] # # @example # Faker::Games::SuperMario.character #=> "Luigi" # # @f...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/half_life.rb
Ruby
mit
11,598
main
1,119
# frozen_string_literal: true module Faker class Games class HalfLife < Base class << self ## # Produces the name of a character from the Half-Life games. # # @return [String] # # @example # Faker::Games::HalfLife.character #=> "Gordon Freeman" ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/heroes.rb
Ruby
mit
11,598
main
1,324
# frozen_string_literal: true module Faker class Games class Heroes < Base class << self ## # Produces the name of a hero from Heroes 3. # # @return [String] # # @example # Faker::Games::Heroes.name #=> "Christian" # # @faker.version...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/heroes_of_the_storm.rb
Ruby
mit
11,598
main
1,436
# frozen_string_literal: true module Faker class Games class HeroesOfTheStorm < Base class << self ## # Produces a battleground from Heroes of the Storm. # # @return [String] # # @example # Faker::Games::HeroesOfTheStorm.battleground #=> "Towers of ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/super_smash_bros.rb
Ruby
mit
11,598
main
801
# frozen_string_literal: true module Faker class Games class SuperSmashBros < Base class << self ## # Produces the name of a fighter from the Smash Bros games. # # @return [String] # # @example # Faker::Games::SuperSmashBros.fighter #=> "Mario" ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/sonic_the_hedgehog.rb
Ruby
mit
11,598
main
1,174
# frozen_string_literal: true module Faker class Games class SonicTheHedgehog < Base class << self ## # Produces the name of a character from Sonic the Hedgehog. # # @return [String] # # @example # Faker::Games::SonicTheHedgehog.character #=> "Sonic...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/warhammer_fantasy.rb
Ruby
mit
11,598
main
1,874
# frozen_string_literal: true module Faker class Games class WarhammerFantasy < Base class << self ## # Produces the name of a hero from the Warhammer Fantasy setting. # # @return [String] # # @example # Faker::Games::WarhammerFantasy.hero #=> "Sigm...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/zelda.rb
Ruby
mit
11,598
main
1,413
# frozen_string_literal: true module Faker class Games class Zelda < Base flexible :zelda class << self ## # Produces the name of a Legend of Zelda game. # # @return [String] # # @example # Faker::Games::Zelda.game #=> "Breath of the Wild" ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/witcher.rb
Ruby
mit
11,598
main
2,892
# frozen_string_literal: true module Faker class Games class Witcher < Base class << self ## # Produces the name of a character from The Witcher. # # @return [String] # # @example # Faker::Games::Witcher.character #=> "Triss Merigold" # ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/fallout.rb
Ruby
mit
11,598
main
1,433
# frozen_string_literal: true module Faker class Games class Fallout < Base class << self ## # Produces the name of a character from the Fallout games. # # @return [String] # # @example # Faker::Games::Fallout.character #=> "Liberty Prime" #...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/street_fighter.rb
Ruby
mit
11,598
main
1,437
# frozen_string_literal: true module Faker class Games class StreetFighter < Base class << self ## # Produces the name of a playable character from Street Fighter. # # @return [String] # # @example # Faker::Games::StreetFighter.character #=> "Ryu" ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/games/touhou.rb
Ruby
mit
11,598
main
1,756
# frozen_string_literal: true module Faker class Games class Touhou < Base flexible :touhou class << self ## # Produces the name of a Touhou game. # # @return [String] # # @example # Faker::Games::Touhou.game #=> "Mountain of Faith" # ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/books/dune.rb
Ruby
mit
11,598
main
3,254
# frozen_string_literal: true module Faker class Books ## # A Faker module beyond your dreams, test data beyond your imagination. class Dune < Base class << self ## # Produces the name of a character from Dune # # @return [String] # # @example ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/books/lovecraft.rb
Ruby
mit
11,598
main
8,882
# frozen_string_literal: true module Faker class Books class Lovecraft < Base class << self ## # Produces the name of a location # # @return [String] # # @example # Faker::Books::Lovecraft.location #=> "Kingsport" # # @faker.version ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/books/culture_series.rb
Ruby
mit
11,598
main
1,847
# frozen_string_literal: true module Faker class Books class CultureSeries < Base flexible :culture_series class << self ## # @return [String] # # @example # Faker::Books::CultureSeries.book # #=> "The Player of Games" # # @faker....
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/books/the_kingkiller_chronicle.rb
Ruby
mit
11,598
main
1,548
# frozen_string_literal: true module Faker class Books class TheKingkillerChronicle < Base class << self ## # Produces the name of a The Kingkiller Chronicle book. # # @return [String] # # @example # Faker::Books::TheKingkillerChronicle.book #=> "Th...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/blockchain/tezos.rb
Ruby
mit
11,598
main
3,364
# frozen_string_literal: true require 'securerandom' module Faker class Blockchain class Tezos < Base class << self # @private PREFIXES = { tz1: [6, 161, 159], KT1: [2, 90, 121], edpk: [13, 15, 37, 217], edsk: [13, 15, 58, 7], edsig: [9, 24...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/blockchain/bitcoin.rb
Ruby
mit
11,598
main
1,493
# frozen_string_literal: true require 'securerandom' module Faker class Blockchain class Bitcoin < Base class << self # @private PROTOCOL_VERSIONS = { main: 0, testnet: 111 }.freeze ## # Produces a Bitcoin wallet address # # @ret...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/blockchain/aeternity.rb
Ruby
mit
11,598
main
1,690
# frozen_string_literal: true module Faker class Blockchain class Aeternity < Base class << self ## # Produces a random Aeternity wallet address # # @return [String] # # @example # Faker::Blockchain::Aeternity.address # #=> "ak_zvU8YQLag...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/blockchain/ethereum.rb
Ruby
mit
11,598
main
596
# frozen_string_literal: true module Faker class Blockchain class Ethereum < Base class << self ## # Produces a random Ethereum wallet address # # @return [String] # # @example # Faker::Blockchain::Ethereum.address # #=> "0xd392b0c050070...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/internet/http.rb
Ruby
mit
11,598
main
1,650
# frozen_string_literal: true module Faker class Internet class HTTP < Base STATUS_CODES = { information: [100, 101, 102, 103], successful: [200, 201, 202, 203, 204, 205, 206, 207, 208, 226], redirect: [300, 301, 302, 303, 304, 305, 306, 307, 308], client_error: [400, 401, 4...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/locations/australia.rb
Ruby
mit
11,598
main
1,067
# frozen_string_literal: true module Faker class Locations class Australia < Base class << self ## # Produces a location in Australia # # @return [String] # # @example # Faker::Locations::Australia.location # #=> "Sydney" # ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/quotes/chiquito.rb
Ruby
mit
11,598
main
1,708
# frozen_string_literal: true module Faker class Quotes class Chiquito < Base class << self ## # Produces an Expression from Chiquito # # @return [String] # # @example # Faker::Quotes::Chiquito.expression # => "Ereh un torpedo!" # # ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/quotes/rajnikanth.rb
Ruby
mit
11,598
main
566
# frozen_string_literal: true module Faker class Quotes class Rajnikanth < Base flexible :rajnikanth class << self ## # Produces a Rajnikanth. # Original list of jokes: # http://www.rajinikanthjokes.com/ # # @return [String] # # @exampl...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/quotes/shakespeare.rb
Ruby
mit
11,598
main
2,952
# frozen_string_literal: true module Faker class Quotes class Shakespeare < Base class << self ## # Produces a Shakespeare quote from Hamlet. # # @return [String] # # @example # Faker::Quotes::Shakespeare.hamlet_quote # => "To be, or not to be: that...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/tv_shows/dr_who.rb
Ruby
mit
11,598
main
2,254
# frozen_string_literal: true module Faker class TvShows class DrWho < Base flexible :dr_who class << self ## # Produces a character from Doctor Who. # # @return [String] # # @example # Faker::TvShows::DrWho.character #=> "Captain Jack Harkne...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/tv_shows/silicon_valley.rb
Ruby
mit
11,598
main
2,842
# frozen_string_literal: true module Faker class TvShows class SiliconValley < Base flexible :silicon_valley class << self ## # Produces a character from Silicon Valley. # # @return [String] # # @example # Faker::TvShows::SiliconValley.charac...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/tv_shows/community.rb
Ruby
mit
11,598
main
838
# frozen_string_literal: true module Faker class TvShows class Community < Base flexible :community class << self ## # Produces a character from Community. # # @return [String] # # @example # Faker::TvShows::Community.characters #=> "Jeff Win...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/tv_shows/game_of_thrones.rb
Ruby
mit
11,598
main
1,828
# frozen_string_literal: true module Faker class TvShows class GameOfThrones < Base flexible :game_of_thrones class << self ## # Produces a character from Game of Thrones. # # @return [String] # # @example # Faker::TvShows::GameOfThrones.char...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/tv_shows/south_park.rb
Ruby
mit
11,598
main
1,146
# frozen_string_literal: true module Faker class TvShows class SouthPark < Base flexible :south_park class << self ## # Produces a character from South Park. # # @return [String] # # @example # Faker::TvShows::SouthPark.character #=> "Mr. Gar...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/tv_shows/star_trek.rb
Ruby
mit
11,598
main
1,348
# frozen_string_literal: true module Faker class TvShows class StarTrek < Base flexible :star_trek class << self ## # Produces a character from Star Trek. # # @return [String] # # @example # Faker::TvShows::StarTrek.character #=> "Spock" ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/tv_shows/breaking_bad.rb
Ruby
mit
11,598
main
802
# frozen_string_literal: true module Faker class TvShows class BreakingBad < Base flexible :breaking_bad class << self ## # Produces the name of a character from Breaking Bad. # # @return [String] # # @example # Faker::TvShows::BreakingBad.ch...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/tv_shows/venture_bros.rb
Ruby
mit
11,598
main
1,531
# frozen_string_literal: true module Faker class TvShows class VentureBros < Base flexible :venture_bros class << self ## # Produces a character from The Venture Bros. # # @return [String] # # @example # Faker::TvShows::VentureBros.character ...
github
faker-ruby/faker
https://github.com/faker-ruby/faker
lib/faker/tv_shows/the_thick_of_it.rb
Ruby
mit
11,598
main
1,167
# frozen_string_literal: true module Faker class TvShows class TheThickOfIt < Base flexible :the_thick_of_it class << self ## # Produces a character from The Thick of It. # # @return [String] # # @example # Faker::TvShows::TheThickOfIt.charac...