Class: Faker::Books::CultureSeries

Inherits:
Faker::Base show all
Defined in:
lib/faker/books/culture_series.rb

Constant Summary

Constants inherited from Faker::Base

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

Class Method Summary collapse

Methods inherited from Faker::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

.bookObject


8
9
10
# File 'lib/faker/books/culture_series.rb', line 8

def book
  fetch('culture_series.books')
end

.civObject


24
25
26
# File 'lib/faker/books/culture_series.rb', line 24

def civ
  fetch('culture_series.civs')
end

.culture_shipObject


12
13
14
# File 'lib/faker/books/culture_series.rb', line 12

def culture_ship
  fetch('culture_series.culture_ships')
end

.culture_ship_classObject


16
17
18
# File 'lib/faker/books/culture_series.rb', line 16

def culture_ship_class
  fetch('culture_series.culture_ship_classes')
end

.culture_ship_class_abvObject


20
21
22
# File 'lib/faker/books/culture_series.rb', line 20

def culture_ship_class_abv
  fetch('culture_series.culture_ship_class_abvs')
end

.planetObject


28
29
30
# File 'lib/faker/books/culture_series.rb', line 28

def planet
  fetch('culture_series.planets')
end