Sha256: 4a6e53b9ccfea73fd672ebd5a3c8864f79a6bc206d8a6b7e295a15c28fbafa5e
Contents?: true
Size: 447 Bytes
Versions: 9
Compression:
Stored size: 447 Bytes
Contents
class Binding # All missing methods delegate to binding's eval(self). #-- # This is an expiremental idea. #++ def delegate! (class << self; self; end).class_eval { #alias_method( :method_missing_without_delegate, :method_missing ) def method_missing(sym, *args, &blk) if send(:self).respond_to?(sym) send(:self).send(sym, *args, &blk) else super end end } end end
Version data entries
9 entries across 9 versions & 1 rubygems