Class: Faker::Games::HalfLife
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.character ⇒ String
Produces the name of a character from the Half-Life games.
-
.enemy ⇒ String
Produces the name of an enemy from the Half-Life games.
-
.location ⇒ String
Produces the name of a location from the Half-Life games.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.character ⇒ String
Produces the name of a character from the Half-Life games.
16 17 18 |
# File 'lib/faker/games/half_life.rb', line 16 def character fetch('games.half_life.character') end |
.enemy ⇒ String
Produces the name of an enemy from the Half-Life games.
29 30 31 |
# File 'lib/faker/games/half_life.rb', line 29 def enemy fetch('games.half_life.enemy') end |
.location ⇒ String
Produces the name of a location from the Half-Life games.
42 43 44 |
# File 'lib/faker/games/half_life.rb', line 42 def location fetch('games.half_life.location') end |