Class: Faker::Cosmere

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

.allomancerObject


31
32
33
# File 'lib/faker/default/cosmere.rb', line 31

def allomancer
  sample(allomancers)
end

.aonObject


7
8
9
# File 'lib/faker/default/cosmere.rb', line 7

def aon
  sample(aons)
end

.feruchemistObject


35
36
37
# File 'lib/faker/default/cosmere.rb', line 35

def feruchemist
  sample(feruchemists)
end

.heraldObject


39
40
41
# File 'lib/faker/default/cosmere.rb', line 39

def herald
  sample(heralds)
end

.knight_radiantObject


23
24
25
# File 'lib/faker/default/cosmere.rb', line 23

def knight_radiant
  sample(knights_radiant)
end

.metalObject


27
28
29
# File 'lib/faker/default/cosmere.rb', line 27

def metal
  sample(metals)
end

.shardObject


15
16
17
# File 'lib/faker/default/cosmere.rb', line 15

def shard
  sample(shards)
end

.shard_worldObject


11
12
13
# File 'lib/faker/default/cosmere.rb', line 11

def shard_world
  sample(shard_worlds)
end

.sprenObject


43
44
45
# File 'lib/faker/default/cosmere.rb', line 43

def spren
  sample(sprens)
end

.surgeObject


19
20
21
# File 'lib/faker/default/cosmere.rb', line 19

def surge
  sample(surges)
end