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