Sha256: ff16063e2c63584b1ada65a6a5c9c0c8e3cad7eff90cdc6820b5019f93e35178
Contents?: true
Size: 354 Bytes
Versions: 4
Compression:
Stored size: 354 Bytes
Contents
module Bogus class AddsRecording extend Takes takes :create_proxy_class, :overwrites_classes, :overwritten_classes def add(name, klass) new_klass = create_proxy_class.call(name, klass) overwrites_classes.overwrite(klass.name, new_klass) overwritten_classes.add(klass.name, klass) new_klass end end end
Version data entries
4 entries across 4 versions & 1 rubygems