Sha256: a5640fd691364b8309c943083ecee8c4edfe409c6443d90cd730c1ada715761b

Contents?: true

Size: 421 Bytes

Versions: 11

Compression:

Stored size: 421 Bytes

Contents

module Faker
  class GameOfThrones < Base
    class << self
      def character
        fetch('game_of_thrones.characters')
      end

      def house
        fetch('game_of_thrones.houses')
      end

      def city
        fetch('game_of_thrones.cities')
      end

      def quote
        fetch('game_of_thrones.quotes')
      end

      def dragon
        fetch('game_of_thrones.dragons')
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
faker-1.9.1 lib/faker/game_of_thrones.rb
faker-1.8.7 lib/faker/game_of_thrones.rb
faker-1.8.6 lib/faker/game_of_thrones.rb
faker-1.8.5 lib/faker/game_of_thrones.rb
faker-1.8.4 lib/faker/game_of_thrones.rb
faker-1.8.3 lib/faker/game_of_thrones.rb
faker-1.8.2 lib/faker/game_of_thrones.rb
faker-1.8.0 lib/faker/game_of_thrones.rb
faker-1.7.3 lib/faker/game_of_thrones.rb
faker-1.7.2 lib/faker/game_of_thrones.rb
faker-1.7.1 lib/faker/game_of_thrones.rb