Sha256: 3cbbb33d559b3c5cfe2d31d7d4e3a50178777665f865978ceb2da98299df33f1

Contents?: true

Size: 1.65 KB

Versions: 32

Compression:

Stored size: 1.65 KB

Contents

# 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

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
faker-3.5.1 lib/faker/default/kpop.rb
faker-3.4.2 lib/faker/default/kpop.rb
faker-3.4.1 lib/faker/default/kpop.rb
faker-3.3.1 lib/faker/default/kpop.rb
faker-3.3.0 lib/faker/default/kpop.rb
faker-3.2.3 lib/faker/default/kpop.rb
faker-3.2.2 lib/faker/default/kpop.rb
faker-3.2.1 lib/faker/default/kpop.rb
faker-3.2.0 lib/faker/default/kpop.rb
faker-3.1.1 lib/faker/default/kpop.rb
faker-3.1.0 lib/faker/default/kpop.rb
faker-3.0.0 lib/faker/default/kpop.rb
faker-2.23.0 lib/faker/default/kpop.rb
faker-2.22.0 lib/faker/default/kpop.rb
faker-2.21.0 lib/faker/default/kpop.rb
faker-2.20.0 lib/faker/default/kpop.rb
faker-2.19.0 lib/faker/default/kpop.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/bundler/gems/faker-e1bd4a5a5777/lib/faker/default/kpop.rb
faker-2.18.0 lib/faker/default/kpop.rb
faker-2.17.0 lib/faker/default/kpop.rb