class Faker::JapaneseMedia::DragonBall

Public Class Methods

character() click to toggle source

Produces the name of a character from Dragon Ball.

@return [String]

@example

Faker::Games::DragonBall.character #=> "Goku"

@faker.version 1.8.0

# File lib/faker/japanese_media/dragon_ball.rb, line 16
def character
  fetch('dragon_ball.characters')
end
planet() click to toggle source

Produces the name of a planet from Dragon Ball.

@return [String]

@example

Faker::Games::DragonBall.planet #=> "Namek"

@faker.version next

# File lib/faker/japanese_media/dragon_ball.rb, line 42
def planet
  fetch('dragon_ball.planets')
end
race() click to toggle source

Produces the name of a race from Dragon Ball.

@return [String]

@example

Faker::Games::DragonBall.race #=> "Saiyan"

@faker.version next

# File lib/faker/japanese_media/dragon_ball.rb, line 29
def race
  fetch('dragon_ball.races')
end