Class: Faker::Kpop

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/default/kpop.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

.boy_bandsString

Produces the name of a K-Pop boy band.

Examples:

Faker::Kpop.boy_bands #=> "Exo"

Returns:



67
68
69
# File 'lib/faker/default/kpop.rb', line 67

def boy_bands
  fetch('kpop.boy_bands')
end

.girl_groupsString

Produces the name of a K-Pop girl group.

Examples:

Faker::Kpop.girl_groups #=> "2NE1"

Returns:



54
55
56
# File 'lib/faker/default/kpop.rb', line 54

def girl_groups
  fetch('kpop.girl_groups')
end

.i_groupsString

Produces the name of a 1990’s ‘OG’ K-Pop group.

Examples:

Faker::Kpop.i_groups #=> "Seo Taiji and Boys"

Returns:



15
16
17
# File 'lib/faker/default/kpop.rb', line 15

def i_groups
  fetch('kpop.i_groups')
end

.ii_groupsString

Produces the name of a 2000’s K-Pop group.

Examples:

Faker::Kpop.ii_groups #=> "Girls' Generation"

Returns:



28
29
30
# File 'lib/faker/default/kpop.rb', line 28

def ii_groups
  fetch('kpop.ii_groups')
end

.iii_groupsString

Produces the name of a 2010’s K-Pop group.

Examples:

Faker::Kpop.iii_groups #=> "Trouble Maker"

Returns:



41
42
43
# File 'lib/faker/default/kpop.rb', line 41

def iii_groups
  fetch('kpop.iii_groups')
end

.soloString

Produces the name of a solo K-Pop artist.

Examples:

Faker::Kpop.solo #=> "T.O.P"

Returns:



80
81
82
# File 'lib/faker/default/kpop.rb', line 80

def solo
  fetch('kpop.solo')
end