# File 'lib/fastory.rb', line 6defself.included(receiver)Fastory.sql_inserts=[]Fastory.fastories={}receiver.instance_evaldoalias_method_chain:teardown,:fastory_refreshendend
Instance Method Details
#teardown_with_fastory_refresh ⇒ Object
15
16
17
18
19
20
21
# File 'lib/fastory.rb', line 15defteardown_with_fastory_refreshFastory.fastories.eachdo|k,v|Fastory.fastories[k][:templates_used]=0endteardown_without_fastory_refreshend