I'm playing with Mash (http://mash-hash.rubyforge.org/) which has some really
nifty stuff. Here's the branch: http://github.com/judofyr/camping/tree/mash.
It requires 0.0.6 (which is only on GitHUb), but will work with 0.0.3
if you drop
the latest patch.
I don't know if it's worth another dependen
class H < Hash
# Gets or sets keys in the hash.
#
# @cookies.my_favorite = :macadamian
# @cookies.my_favorite
# => :macadamian
#
def method_missing(m,*a)
x=(m.to_s=~/=$/?self[$`]=a[0]:a==[]?self[m.to_s]:super)
x.kind_of?(Hash) ? H[x] : x
end
Yes and no. The gems are based on my tree, but I'll always try to keep my
tree equal to _why's. If there's some commits I'm not sure if he will merge, I
put them in a branch (so I don't mess up the master).
On Tue, Jul 22, 2008 at 4:33 AM, Bluebie, Jenna
<[EMAIL PROTECTED]> wrote:
> I thought your
3 matches
Mail list logo