Sha256: b5394415c59c5a485855a6bcd2af6e30525c6c0bb96c016f775a85f7d59a404a
Contents?: true
Size: 252 Bytes
Versions: 2
Compression:
Stored size: 252 Bytes
Contents
module Dropcaster module HashKeys def method_missing(meth,*args) m = meth.id2name if /=$/ =~ m self[m.chop.to_sym] = (args.length < 2 ? args[0] : args) else self[m.to_sym] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dropcaster-0.0.4 | lib/dropcaster/hashkeys.rb |
dropcaster-0.0.3 | lib/dropcaster/hashkeys.rb |