class Faker::Games::Overwatch
Public Class Methods
Source
# File lib/faker/games/overwatch.rb, line 16 def hero fetch('games.overwatch.heroes') end
Produces the name of a hero from Overwatch
.
@return [String]
@example
Faker::Games::Overwatch.hero #=> "Tracer"
@faker.version 1.8.0
Source
# File lib/faker/games/overwatch.rb, line 29 def location fetch('games.overwatch.locations') end
Produces the name of a location from Overwatch
.
@return [String]
@example
Faker::Games::Overwatch.location #=> "Numbani"
@faker.version 1.8.0