Sha256: 846cd5f49028114a4ff17f98e890aa4f6b5b7b7a4e71b88eb45926829c1c6987
Contents?: true
Size: 852 Bytes
Versions: 23
Compression:
Stored size: 852 Bytes
Contents
# frozen_string_literal: true module Faker class Camera < Base class << self ## # Produces a brand of a camera # # @return [String] # # @example # Faker::Camera.brand #=> "Canon" # # @faker.version next def brand fetch('camera.brand') end ## # Produces a model of camera # # @return [String] # # @example # Faker::Camera.model #=> "450D" # # @faker.version next def model fetch('camera.model') end ## # Produces a brand with model # # @return [String] # # @example # Faker::Camera.brand_with_model #=> "Canon 450D" # # @faker.version next def brand_with_model fetch('camera.brand_with_model') end end end end
Version data entries
23 entries across 23 versions & 2 rubygems