Sha256: c884134d805e77a469f9a6ae62dd93007788ee4439faba25904a8ff7465cbb5b
Contents?: true
Size: 326 Bytes
Versions: 25
Compression:
Stored size: 326 Bytes
Contents
module Perennial # a super simple proxy class. class Proxy instance_methods.each { |m| undef_method m unless m =~ /(^__|^send$|^object_id$)/ } attr_accessor :__proxy_target__ protected def method_missing(m, *args, &blk) __proxy_target__.send(m, *args, &blk) end end end
Version data entries
25 entries across 25 versions & 2 rubygems