vane / smartypants-ioc

Automatically exported from code.google.com/p/smartypants-ioc
0 stars 0 forks source link

Clear rule #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
forClas(Foo).named("bar")...

.resumeDefaultBehaviour()
.clearRule()
.noRule()
.defaultBehaviour()

?

Original issue reported on code.google.com by josh.g.m...@hotmail.com on 23 Mar 2009 at 8:54

GoogleCodeExporter commented 9 years ago
From the tests: 

injector.newRule().whenAskedFor(String).named("teddy").defaultBehaviour();

Original comment by josh.g.m...@hotmail.com on 7 Apr 2009 at 3:41

GoogleCodeExporter commented 9 years ago
sounds good to me!

Original comment by Dars...@gmail.com on 7 Apr 2009 at 12:15