Sha256: 9d2fc95c27a4330394c621da54c7bb52ad814f6d35182b62600f8f597c93ce47
Contents?: true
Size: 299 Bytes
Versions: 48
Compression:
Stored size: 299 Bytes
Contents
class Object def local_methods (instance_methods - Object.instance_methods).sort end end def link(obj_name, from:) obj = Ree.container.packages_facade.get_object(from, obj_name) define_method obj_name do |*args, **kwargs, &proc| obj.klass.new.call(*args, **kwargs, &proc) end end
Version data entries
48 entries across 48 versions & 1 rubygems