Normally we want names to be meaningfull and somehow to describe what they do. This means that to a certain extend to you can guess the type (or kind) of the parameters and the return value by the method name.
So , for 'container_to_uuid', I'm expecting that the method take a container as parameter and return an uuid. That's obviously not what this method is doing.
Also I expect method, to be a method but it seems to be an Enumerable. is attributes used ? If not, why is it there ?