class Faker::Sports::Volleyball
Public Class Methods
Source
# File lib/faker/sports/volleyball.rb, line 42 def coach fetch('volleyball.coach') end
Produces the name of a volleyball coach.
@return [String]
@example
Faker::Sports::Volleyball.coach #=> "Russ Rose"
@faker.version next
Source
# File lib/faker/sports/volleyball.rb, line 68 def formation fetch('volleyball.formation') end
Produces a formation in volleyball.
@return [String]
@example
Faker::Sports::Volleyball.formation #=> "4-2"
@faker.version next
Source
# File lib/faker/sports/volleyball.rb, line 29 def player fetch('volleyball.player') end
Produces the name of a volleyball player.
@return [String]
@example
Faker::Sports::Volleyball.player #=> "Saeid Marouf"
@faker.version next
Source
# File lib/faker/sports/volleyball.rb, line 55 def position fetch('volleyball.position') end
Produces a position in volleyball.
@return [String]
@example
Faker::Sports::Volleyball.position #=> "Middle blocker"
@faker.version next
Source
# File lib/faker/sports/volleyball.rb, line 16 def team fetch('volleyball.team') end
Produces the name of a volleyball team.
@return [String]
@example
Faker::Sports::Volleyball.team #=> "Leo Shoes Modena"
@faker.version next