lib/sham.rb in notahat-machinist-0.2.2 vs lib/sham.rb in notahat-machinist-0.3.0

- old
+ new

@@ -17,9 +17,13 @@ sham = @@shams[symbol] raise "No sham defined for #{symbol}" if sham.nil? sham.fetch_value end end + + def self.clear + @@shams = {} + end def self.reset @@shams.values.each(&:reset) end