Class: Faker::Games::StreetFighter
- Defined in:
- lib/faker/games/street_fighter.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.character ⇒ String
Produces the name of a playable character from Street Fighter.
-
.move ⇒ String
Produces the name of a move from Street Fighter.
-
.quote ⇒ String
Produces a quote from Street Fighter.
-
.stage ⇒ String
Produces the name of a stage from Street Fighter.
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
.character ⇒ String
Produces the name of a playable character from Street Fighter.
16 17 18 |
# File 'lib/faker/games/street_fighter.rb', line 16 def character fetch('games.street_fighter.characters') end |
.move ⇒ String
Produces the name of a move from Street Fighter.
55 56 57 |
# File 'lib/faker/games/street_fighter.rb', line 55 def move fetch('games.street_fighter.moves') end |
.quote ⇒ String
Produces a quote from Street Fighter.
42 43 44 |
# File 'lib/faker/games/street_fighter.rb', line 42 def quote fetch('games.street_fighter.quotes') end |
.stage ⇒ String
Produces the name of a stage from Street Fighter.
29 30 31 |
# File 'lib/faker/games/street_fighter.rb', line 29 def stage fetch('games.street_fighter.stages') end |