Sha256: 02c11f4f166133213a32448176ba6032bd02b1876e6e7981b45e004ef2c00d80

Contents?: true

Size: 1.63 KB

Versions: 26

Compression:

Stored size: 1.63 KB

Contents

# 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"
        #
        # @faker.version 1.9.0
        def game
          fetch('games.myst.games')
        end

        ##
        # Produces the name of a creature from Myst.
        #
        # @return [String]
        #
        # @example
        #   Faker::Games::Myst.creature #=> "squee"
        #
        # @faker.version 1.9.0
        def creature
          fetch('games.myst.creatures')
        end

        ##
        # Produces the name of an age from Myst.
        #
        # @return [String]
        #
        # @example
        #   Faker::Games::Myst.age #=> "Relto"
        #
        # @faker.version 1.9.0
        def age
          fetch('games.myst.ages')
        end

        ##
        # Produces the name of a chracter from Myst.
        #
        # @return [String]
        #
        # @example
        #   Faker::Games::Myst.character #=> "Gehn"
        #
        # @faker.version 1.9.0
        def character
          fetch('games.myst.characters')
        end

        ##
        # Produces a quote from Myst.
        #
        # @return [String]
        #
        # @example
        #   Faker::Games::Myst.quote #=> "I realized, the moment I fell into the fissure, that the Book would not be destroyed as I had planned."
        #
        # @faker.version 1.9.0
        def quote
          fetch('games.myst.quotes')
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
faker-3.0.0 lib/faker/games/myst.rb
faker-2.23.0 lib/faker/games/myst.rb
faker-2.22.0 lib/faker/games/myst.rb
faker-2.21.0 lib/faker/games/myst.rb
faker-2.20.0 lib/faker/games/myst.rb
faker-2.19.0 lib/faker/games/myst.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/bundler/gems/faker-e1bd4a5a5777/lib/faker/games/myst.rb
faker-2.18.0 lib/faker/games/myst.rb
faker-2.17.0 lib/faker/games/myst.rb
faker-2.16.0 lib/faker/games/myst.rb
faker-2.15.1 lib/faker/games/myst.rb
faker-2.15.0 lib/faker/games/myst.rb
faker-2.14.0 lib/faker/games/myst.rb
faker-2.13.0 lib/faker/games/myst.rb
faker-2.12.0 lib/faker/games/myst.rb
faker-2.11.0 lib/faker/games/myst.rb
faker-2.10.2 lib/faker/games/myst.rb
faker-2.10.1 lib/faker/games/myst.rb
faker-2.10.0 lib/faker/games/myst.rb
faker-2.9.0 lib/faker/games/myst.rb