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::LLetters, Faker::Base::Letters, Faker::Base::NOT_GIVEN, Faker::Base::Numbers, Faker::Base::ULetters

Class Method Summary collapse

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

.bookString

Examples:

Faker::Books::CultureSeries.book
  #=> "The Player of Games"

Returns:

  • (String)

Available since:

  • 1.9.3



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

def book
  fetch('culture_series.books')
end

.civString

Examples:

Faker::Books::CultureSeries.civ
  #=> "Culture"

Returns:

  • (String)

Available since:

  • 1.9.3



65
66
67
# File 'lib/faker/books/culture_series.rb', line 65

def civ
  fetch('culture_series.civs')
end

.culture_shipString

Examples:

Faker::Books::CultureSeries.culture_ship
  #=> "Fate Amenable To Change"

Returns:

  • (String)

Available since:

  • 1.9.3



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

def culture_ship
  fetch('culture_series.culture_ships')
end

.culture_ship_classString

Examples:

Faker::Books::CultureSeries.culture_ship_class
  #=> "General Systems Vehicle"

Returns:

  • (String)

Available since:

  • 1.9.3



41
42
43
# File 'lib/faker/books/culture_series.rb', line 41

def culture_ship_class
  fetch('culture_series.culture_ship_classes')
end

.culture_ship_class_abvString

Examples:

Faker::Books::CultureSeries.culture_ship_class_abv
  #=> "The Odd Sister"

Returns:

  • (String)

Available since:

  • 1.9.3



53
54
55
# File 'lib/faker/books/culture_series.rb', line 53

def culture_ship_class_abv
  fetch('culture_series.culture_ship_class_abvs')
end

.planetString

Examples:

Faker::Books::CultureSeries.planet
  #=> "Xinth"

Returns:

  • (String)

Available since:

  • 1.9.3



77
78
79
# File 'lib/faker/books/culture_series.rb', line 77

def planet
  fetch('culture_series.planets')
end