Sha256: 892091e4f247af278f47c4e26976cb04897c7f4492a1797b9c6d5eb412b3c74d

Contents?: true

Size: 1.33 KB

Versions: 36

Compression:

Stored size: 1.33 KB

Contents

# frozen_string_literal: true

module Faker
  class TvShows
    class TheExpanse < Base
      flexible :the_expanse

      class << self
        ##
        # Produces a character from The Expanse.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::TheExpanse.character #=> "Jim Holden"
        #
        # @faker.version 1.9.2
        def character
          fetch('the_expanse.characters')
        end

        ##
        # Produces a quote from The Expanse.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::TheExpanse.quote #=> "I am that guy."
        #
        # @faker.version 1.9.2
        def quote
          fetch('the_expanse.quotes')
        end

        ##
        # Produces a location from The Expanse.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::TheExpanse.location #=> "Ganymede"
        #
        # @faker.version 1.9.2
        def location
          fetch('the_expanse.locations')
        end

        ##
        # Produces a ship from The Expanse.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::TheExpanse.ship #=> "Nauvoo"
        #
        # @faker.version 1.9.2
        def ship
          fetch('the_expanse.ships')
        end
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

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