Skip to content

Commit

Permalink
merged in bitbucket again, just to fix the network graph - heh
Browse files Browse the repository at this point in the history
  • Loading branch information
schacon committed Jul 18, 2008
2 parents d7e0d65 + 40fc6e6 commit 277c43f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/munger/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ def size
def valid?
if ((@data.size > 0) &&
(@data.respond_to? :each_with_index) &&
(@data.first.respond_to? :keys))
(@data.first.respond_to? :keys)) &&
(!@data.first.is_a? String)
return true
else
return false
Expand Down

0 comments on commit 277c43f

Please sign in to comment.