class Faker::Games::SuperMario

Public Class Methods

character() click to toggle source

Produces the name of a Super Mario character.

@return [String]

@example

Faker::Games::SuperMario.character #=> "Luigi"

@faker.version next

# File lib/faker/games/super_mario.rb, line 16
def character
  fetch('games.super_mario.characters')
end
game() click to toggle source

Produces the name of a Super Mario game.

@return [String]

@example

Faker::Games::SuperMario.game #=> "Super Mario Odyssey"

@faker.version next

# File lib/faker/games/super_mario.rb, line 29
def game
  fetch('games.super_mario.games')
end
location() click to toggle source

Produces the name of a Super Mario location.

@return [String]

@example

Faker::Games::SuperMario.location #=> "Kong City"

@faker.version next

# File lib/faker/games/super_mario.rb, line 42
def location
  fetch('games.super_mario.locations')
end