Permalink
Browse files

Fix a bug with the store

  • Loading branch information...
1 parent b824010 commit 228b7180f25d850b763e16217cc7a835339f4e3d @jhchabran jhchabran committed Jul 26, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 lib/vintner/builder.rb
  2. +0 −1 lib/vintner/dsl_methods.rb
  3. +1 −0 lib/vintner/importer.rb
View
@@ -3,6 +3,7 @@ class Builder
include DSLMethods
def export representer, model
+ @store = {}
@representer = representer
@model = model
@@ -1,7 +1,6 @@
module Vintner
module DSLMethods
def initialize &block
- @store = {}
@block = block
end
View
@@ -3,6 +3,7 @@ class Importer
include DSLMethods
def import representer, model, hash
+ @store = {}
@representer = representer
@model = model

0 comments on commit 228b718

Please sign in to comment.