Sha256: 86268bc19f40ce2d067290157221f5f3239ee56c3c072bc94156fa27fe6f7a41

Contents?: true

Size: 483 Bytes

Versions: 5

Compression:

Stored size: 483 Bytes

Contents

# frozen_string_literal: true

module Faker
  class Games
    class Dota < Base
      class << self
        def hero
          fetch('games.dota.hero')
        end

        def item
          fetch('games.dota.item')
        end

        def team
          fetch('games.dota.team')
        end

        def player
          fetch('games.dota.player')
        end

        def quote(hero: 'abaddon')
          fetch("games.dota.#{hero}.quote")
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
faker-2.1.2 lib/faker/games/dota.rb
faker-2.1.1 lib/faker/games/dota.rb
faker-2.1.0 lib/faker/games/dota.rb
faker-2.0.0 lib/faker/games/dota.rb
faker-2.0 lib/faker/games/dota.rb