Class: Faker::Sports::Volleyball
- Defined in:
- lib/faker/sports/volleyball.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.coach ⇒ String
Produces the name of a volleyball coach.
-
.formation ⇒ String
Produces a formation in volleyball.
-
.player ⇒ String
Produces the name of a volleyball player.
-
.position ⇒ String
Produces a position in volleyball.
-
.team ⇒ String
Produces the name of a volleyball team.
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
.coach ⇒ String
Produces the name of a volleyball coach.
42 43 44 |
# File 'lib/faker/sports/volleyball.rb', line 42 def coach fetch('volleyball.coach') end |
.formation ⇒ String
Produces a formation in volleyball.
68 69 70 |
# File 'lib/faker/sports/volleyball.rb', line 68 def formation fetch('volleyball.formation') end |
.player ⇒ String
Produces the name of a volleyball player.
29 30 31 |
# File 'lib/faker/sports/volleyball.rb', line 29 def player fetch('volleyball.player') end |
.position ⇒ String
Produces a position in volleyball.
55 56 57 |
# File 'lib/faker/sports/volleyball.rb', line 55 def position fetch('volleyball.position') end |
.team ⇒ String
Produces the name of a volleyball team.
16 17 18 |
# File 'lib/faker/sports/volleyball.rb', line 16 def team fetch('volleyball.team') end |