class Hash
Public Instance Methods
method_missing(method, *args)
click to toggle source
Calls superclass method
# File lib/rasm/core_ext/hash.rb, line 11 def method_missing(method, *args) return self[method] if args.empty? && self.include?(method) super end
ref(selector, options = {})
click to toggle source
# File lib/rasm/core_ext/hash.rb, line 3 def ref(selector, options = {}) Rasm::Ref.new(self, selector, options) end
respond_to_missing?(method, *)
click to toggle source
Calls superclass method
# File lib/rasm/core_ext/hash.rb, line 7 def respond_to_missing?(method, *) self.key?(method) || super end