This week I’m looking at Facets’ Array extensions. Hash, Array, String, and Integer objects are used frequently in Rails so I can take advantage of them faster than more complex classes. The Code 1 2 3 4 5 6 7 8 9 # File lib/core/facets/array/pad.rb, line 14 def pad(len, val=nil) return dup if self.size >= …