Permalink
Browse files

Added size method to MapFields::CSVRow

  • Loading branch information...
andrewtimberlake committed Mar 29, 2012
1 parent 1f6d90e commit 14a4d7bd0be8858dd63e8fb3a21706803816d5ad
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/map_fields/mapper.rb
View
@@ -135,5 +135,9 @@ def initialize(row, mapping)
def [](index)
@row[@mapping[index]]
end
+
+ def size
+ @row.size
+ end
end
end

0 comments on commit 14a4d7b

Please sign in to comment.