The hashslice library adds builtin hash slicing to Ruby's Hash class. This lets you reference, or assign to, multiple hash keys simultaneously via the Hash#[] and Hash#[]= methods, respectively.
Daniel J. Berger, Michael Granger
September 1, 2011 4:25pm
無