Fixes #10, detecting floats and integers in attrs
Fixed access to attributes in RSpec for jRuby
Merge pull request #11 from arax/master

Fixes #10, detecting floats and integers in attrs