lib/bogus/injector.rb in bogus-0.1.3 vs lib/bogus/injector.rb in bogus-0.1.4
- old
+ new
@@ -80,9 +80,13 @@
def overwritten_classes
@overwritten_classes ||= inject(OverwrittenClasses)
end
+ def adds_contract_verification(syntax)
+ inject(AddsContractVerification, syntax: syntax)
+ end
+
def create_proxy_class(fake_name, klass)
inject(ProxyClass, fake_name: fake_name, klass: klass)
end
def create_recording_proxy(instance, fake_name)