hashugar icon indicating copy to clipboard operation
hashugar copied to clipboard

Added keys method

Open sasha-id opened this issue 12 years ago • 2 comments

sasha-id avatar Feb 25 '12 21:02 sasha-id

Hi, thanks for the pull request. But, I do need test for these methods before merging.

jsuchal avatar Feb 26 '12 06:02 jsuchal

Hmm... I think it makes sense to use delegation here (that way it's lazy loaded) + you won't need comprehensive tests, since the underlying ruby methods are tested on the objects themselves. You'll only need to test that the hashugar responds_to? the given method, rather than the integrity of the method.

sethvargo avatar Dec 05 '12 19:12 sethvargo