Class: Bogus::ResetsOverwrittenClasses
- Inherits:
-
Object
- Object
- Bogus::ResetsOverwrittenClasses
- Extended by:
- Takes
- Defined in:
- lib/bogus/fakes/resets_overwritten_classes.rb
Instance Method Summary collapse
Methods included from Takes
Instance Method Details
#reset ⇒ Object
7 8 9 10 11 12 |
# File 'lib/bogus/fakes/resets_overwritten_classes.rb', line 7 def reset overwritten_classes.classes.each do |name, klass| overwrites_classes.overwrite(name, klass) end overwritten_classes.clear end |