fog/fog-core — pull request #109 by starbelly (2014-12-11 00:28:03+00:00)
Title: Makes Fog::Collection rubocop compliant

* Refactored inspect method into a few composed methods, within a new module. This takes care of the ABC level being too high in Fog::Collection.inspect, and gets the class definition down to 100 lines.

* The names of the module where the new methods reside and methods themselves obviously need to be though out and renamed to something meaningful ( add_stuff() is definitely not a good name : p )

Also, I don't like the way each method depends on having a block provided it to instead of the data, however I was trying to avoid too many LOC and assignments. Long story short, right now not entirely happy with the new module, but it's a start.