Sha256: 5b8129fe39a89da58d1f30ba1edb58f714f039f8c63a1b3d0b25e7bcbc4e9ede
Contents?: true
Size: 211 Bytes
Versions: 4
Compression:
Stored size: 211 Bytes
Contents
class Hash def method_missing(name, *args, &block) super if args.size > 0 || block_given? #TODO: Warn if key doesn't exist - it's probably a typo in their squealer script self[name.to_s] end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
sp-squealer-1.0 | lib/squealer/hash.rb |
squealer-2.2.2 | lib/squealer/hash.rb |
squealer-2.2.1 | lib/squealer/hash.rb |
squealer-2.2.0 | lib/squealer/hash.rb |