Sha256: 814edb393fed3c6ca1784aaa4c8bbb5cf7e188eb4c7b7ce917d72c0e7dcf7fbd

Contents?: true

Size: 670 Bytes

Versions: 13

Compression:

Stored size: 670 Bytes

Contents

# frozen_string_literal: true

module Faker
  class Books
    class CultureSeries < Base
      flexible :culture_series
      class << self
        def book
          fetch('culture_series.books')
        end

        def culture_ship
          fetch('culture_series.culture_ships')
        end

        def culture_ship_class
          fetch('culture_series.culture_ship_classes')
        end

        def culture_ship_class_abv
          fetch('culture_series.culture_ship_class_abvs')
        end

        def civ
          fetch('culture_series.civs')
        end

        def planet
          fetch('culture_series.planets')
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
faker-2.2.2 lib/faker/books/culture_series.rb
faker-2.2.1 lib/faker/books/culture_series.rb
faker-2.2.0 lib/faker/books/culture_series.rb
faker-2.1.2 lib/faker/books/culture_series.rb
faker-2.1.1 lib/faker/books/culture_series.rb
faker-2.1.0 lib/faker/books/culture_series.rb
faker-2.0.0 lib/faker/books/culture_series.rb
faker-2.0 lib/faker/books/culture_series.rb
faker-1.9.6 lib/faker/books/culture_series.rb
faker-1.9.5 lib/faker/books/culture_series.rb
faker-1.9.4 lib/faker/books/culture_series.rb
faker-1.9.3 lib/faker/books/culture_series.rb
faker-1.9.2 lib/faker/books/culture_series.rb