Permalink
Browse files

Eric reminded me to push this update - thanks Eric!

* A small but important change to the add_data method

Signed-off-by: Scott Chacon <schacon@gmail.com>
  • Loading branch information...
1 parent 12932c3 commit ca2ef1ca1f5a3d55d618ceeb3e018fc1a03cae45 @elskwid elskwid committed with Jul 19, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/munger/data.rb
View
@@ -21,7 +21,7 @@ def add_data(data)
if @data
@data = @data + data
else
- Data.new(:data => data)
+ @data = data
end
@data
end

0 comments on commit ca2ef1c

Please sign in to comment.