Sha256: 9a9f2da7887f42df2549648b32f93921b3c1e5f198e09c70f93f21d10755cbde

Contents?: true

Size: 1 KB

Versions: 12

Compression:

Stored size: 1 KB

Contents

# frozen_string_literal: true

module Faker
  class Movies
    class Hackers < Base
      class << self
        ##
        # Produces a real character name from Hackers.
        #
        # @return [String]
        #
        # @example
        #   Faker::Movies::Hackers.character #=> "Dade Murphy"
        #
        # @faker.version next
        def character
          fetch('hackers.characters')
        end

        ##
        # Produces a character hacker "handle" from Hackers.
        #
        # @return [String]
        #
        # @example
        #   Faker::Movies::Hackers.handle #=> "Zero Cool"
        #
        # @faker.version next
        def handle
          fetch('hackers.handles')
        end

        ##
        # Produces a quote from Hackers.
        #
        # @return [String]
        #
        # @example
        #   Faker::Movies::Hackers.quote #=> "Hack the Planet!"
        #
        # @faker.version next
        def quote
          fetch('hackers.quotes')
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
faker-3.5.1 lib/faker/movies/hackers.rb
faker-3.4.2 lib/faker/movies/hackers.rb
faker-3.4.1 lib/faker/movies/hackers.rb
faker-3.3.1 lib/faker/movies/hackers.rb
faker-3.3.0 lib/faker/movies/hackers.rb
faker-3.2.3 lib/faker/movies/hackers.rb
faker-3.2.2 lib/faker/movies/hackers.rb
faker-3.2.1 lib/faker/movies/hackers.rb
faker-3.2.0 lib/faker/movies/hackers.rb
faker-3.1.1 lib/faker/movies/hackers.rb
faker-3.1.0 lib/faker/movies/hackers.rb
faker-3.0.0 lib/faker/movies/hackers.rb