File: kpop.rb

package info (click to toggle)
ruby-faker 3.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,360 kB
  • sloc: ruby: 20,654; makefile: 6; sh: 6
file content (85 lines) | stat: -rw-r--r-- 1,690 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# 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
        fetch('kpop.i_groups')
      end

      ##
      # Produces the name of a 2000's K-Pop group.
      #
      # @return [String]
      #
      # @example
      #   Faker::Kpop.ii_groups #=> "Girls' Generation"
      #
      # @faker.version 1.8.5
      def ii_groups
        fetch('kpop.ii_groups')
      end

      ##
      # Produces the name of a 2010's K-Pop group.
      #
      # @return [String]
      #
      # @example
      #   Faker::Kpop.iii_groups #=> "Trouble Maker"
      #
      # @faker.version 1.8.5
      def iii_groups
        fetch('kpop.iii_groups')
      end

      ##
      # Produces the name of a K-Pop girl group.
      #
      # @return [String]
      #
      # @example
      #   Faker::Kpop.girl_groups #=> "2NE1"
      #
      # @faker.version 1.8.5
      def girl_groups
        fetch('kpop.girl_groups')
      end

      ##
      # Produces the name of a K-Pop boy band.
      #
      # @return [String]
      #
      # @example
      #   Faker::Kpop.boy_bands #=> "Exo"
      #
      # @faker.version 1.8.5
      def boy_bands
        fetch('kpop.boy_bands')
      end

      ##
      # Produces the name of a solo K-Pop artist.
      #
      # @return [String]
      #
      # @example
      #   Faker::Kpop.solo #=> "T.O.P"
      #
      # @faker.version 1.8.5
      def solo
        fetch('kpop.solo')
      end
    end
  end
end