Class: Faker::Camera
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.brand ⇒ String
Produces a brand of a camera.
-
.brand_with_model ⇒ String
Produces a brand with model.
-
.model ⇒ String
Produces a model of camera.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.brand ⇒ String
Produces a brand of a camera
15 16 17 |
# File 'lib/faker/default/camera.rb', line 15 def brand fetch('camera.brand') end |
.brand_with_model ⇒ String
Produces a brand with model
41 42 43 |
# File 'lib/faker/default/camera.rb', line 41 def brand_with_model fetch('camera.brand_with_model') end |
.model ⇒ String
Produces a model of camera
28 29 30 |
# File 'lib/faker/default/camera.rb', line 28 def model fetch('camera.model') end |