lib/berkshelf/cached_cookbook.rb in berkshelf-2.0.0 vs lib/berkshelf/cached_cookbook.rb in berkshelf-2.0.1
- old
+ new
@@ -52,9 +52,10 @@
h[:dependencies] = dependencies.to_hash unless dependencies.blank?
end
end
private
+
def pretty_map(hash, padding)
hash.map { |k,v| "#{k} (#{v})" }.join("\n" + ' '*padding)
end
end
end