Class: Faker::Games::HalfLife

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/games/half_life.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


7
8
9
# File 'lib/faker/games/half_life.rb', line 7

def character
  fetch('games.half_life.character')
end

.enemyObject


11
12
13
# File 'lib/faker/games/half_life.rb', line 11

def enemy
  fetch('games.half_life.enemy')
end

.locationObject


15
16
17
# File 'lib/faker/games/half_life.rb', line 15

def location
  fetch('games.half_life.location')
end