close #8 by allowing the hash class method to work in the default Ruby way and as an attribute method