lib/punchfork/search.rb in punchfork-0.0.4 vs lib/punchfork/search.rb in punchfork-0.0.5

- old
+ new

@@ -11,10 +11,10 @@ instance_variable_set("@#{k}", v) self.class.class_eval{attr_reader k} @attributes[k] = v end - @recipes = @recipes.map{ |recipe_hash| Recipe.new(recipe_hash) } + @recipes = @recipes.map{ |recipe_hash| recipe = Recipe.new(recipe_hash) } end attr_reader :attributes def [](key) \ No newline at end of file