Class: Faker::Games::Zelda

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/games/zelda.rb

Constant Summary

Constants inherited from Base

Base::Letters, Base::Numbers, Base::ULetters

Class Method Summary collapse

Methods inherited from Base

bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, translate, unique, with_locale

Class Method Details

.characterObject



12
13
14
# File 'lib/faker/games/zelda.rb', line 12

def character
  fetch('games.zelda.characters')
end

.gameObject



8
9
10
# File 'lib/faker/games/zelda.rb', line 8

def game
  fetch('games.zelda.games')
end

.itemObject



20
21
22
# File 'lib/faker/games/zelda.rb', line 20

def item
  fetch('games.zelda.items')
end

.locationObject



16
17
18
# File 'lib/faker/games/zelda.rb', line 16

def location
  fetch('games.zelda.locations')
end