Sha256: 2374a1727985b53ef349055c54228c422f6bb4677bbc3f2ce69a2ca42c0d5a3a
Contents?: true
Size: 291 Bytes
Versions: 1
Compression:
Stored size: 291 Bytes
Contents
class Hash def ref(selector, options = {}) Rasm::Ref.new(self, selector, options) end def respond_to_missing?(method, *) self.key?(method) || super end def method_missing(method, *args) return self[method] if args.empty? && self.include?(method) super end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rasm-0.0.1 | lib/rasm/core_ext/hash.rb |