Skip to content

Commit f0c58c0

Browse files
committed
correct to: ArgumentError
1 parent c3fa260 commit f0c58c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/csv_importer/row.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def set_attribute(model, column, csv_value)
6363
when 3 # to: ->(field_value, post, column) { post.hash_field[column.name] = field_value }
6464
to_proc.call(csv_value, model, column)
6565
else
66-
raise ArgumentError, "`to` proc can only have between 1, 2 or 3 arguments"
66+
raise ArgumentError, "`to` proc can only have 1, 2 or 3 arguments"
6767
end
6868
else
6969
attribute = column_definition.attribute

0 commit comments

Comments
 (0)