HearthStats/hearthstats — pull request #325 by Ricardonacif (2014-07-25 20:30:31+00:00)
Title: Profile Image Generator

I've added the profile image generator to the code. To use it, simply pass a hash like this to the constructor:

user = {
name: 'Username',
const_win_rate: "32.2%",
arena_win_rate: "69%",
ranking: 25
}

image = ProfileImage.new(user).image

In order to see the image, simply do `image.write('test.png')`