Fix an issue with awesome print

Hi all,

we encountered an issue due to #== not checking for its type and raising NoMethodError (because it's calling #mean on the `other` object).
Here is a small fix adding a type check to #== to avoid this problem.

Specs are included too.