Class: Faker::Game
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.genre ⇒ String
Produces the name of a video game genre.
-
.platform ⇒ String
Produces the name of a video game console or platform.
-
.title ⇒ String
Produces the name of a video game.
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
.genre ⇒ String
Produces the name of a video game genre.
30 31 32 |
# File 'lib/faker/games/game.rb', line 30 def genre fetch('game.genre') end |
.platform ⇒ String
Produces the name of a video game console or platform.
43 44 45 |
# File 'lib/faker/games/game.rb', line 43 def platform fetch('game.platform') end |
.title ⇒ String
Produces the name of a video game.
17 18 19 |
# File 'lib/faker/games/game.rb', line 17 def title fetch('game.title') end |