class Faker::JapaneseMedia::DragonBall
Public Class Methods
Source
# File lib/faker/japanese_media/dragon_ball.rb, line 16 def character fetch('dragon_ball.characters') end
Produces the name of a character from Dragon Ball.
@return [String]
@example
Faker::Games::DragonBall.character #=> "Goku"
@faker.version 1.8.0
Source
# File lib/faker/japanese_media/dragon_ball.rb, line 42 def planet fetch('dragon_ball.planets') end
Produces the name of a planet from Dragon Ball.
@return [String]
@example
Faker::Games::DragonBall.planet #=> "Namek"
@faker.version next
Source
# File lib/faker/japanese_media/dragon_ball.rb, line 29 def race fetch('dragon_ball.races') end
Produces the name of a race from Dragon Ball.
@return [String]
@example
Faker::Games::DragonBall.race #=> "Saiyan"
@faker.version next