Corrected doc for syntax of class and every keys

There's an open issue related to the first document correction - if you accepted this PR, you could avoid changing the code :) 

I found the other issue when trying out the gem just now - the name of the class has to be a string, else the value of the `:class` key is set to an empty hash.