Sha256: 8a9df9f1f940249f0f48b654daf7752cad53e52dadd7b72ce5c9d32b705a1071
Contents?: true
Size: 355 Bytes
Versions: 10
Compression:
Stored size: 355 Bytes
Contents
class Object def method_missing(methodname, *a, &b) # TODO Use #op_esc convert symbolic method names. begin require "facets/#{class}/#{methodname}" # TODO Would it be better to use #methods.include? ? if respond_to?(methodname) send(methodname, *a, &b) end rescue LoadError super end end end
Version data entries
10 entries across 10 versions & 2 rubygems