Sha256: 79b5a722bf90866e86d694e95eb6fb11c48fa5cb0afbcadf070efdaf12036098
Contents?: true
Size: 304 Bytes
Versions: 2
Compression:
Stored size: 304 Bytes
Contents
class Bogus::AddsRecording extend Bogus::Takes takes :converts_name_to_class, :create_proxy_class, :overwrites_classes def add(name) klass = converts_name_to_class.convert(name) new_klass = create_proxy_class.call(name, klass) overwrites_classes.overwrite(klass, new_klass) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bogus-0.0.2 | lib/bogus/adds_recording.rb |
bogus-0.0.1 | lib/bogus/adds_recording.rb |