lib/excel_walker/writer/hook.rb in excel_walker-0.1.1 vs lib/excel_walker/writer/hook.rb in excel_walker-0.1.2
- old
+ new
@@ -12,10 +12,10 @@
proc { |row_num| condition.include?(row_num) }
when condition.is_a?(Fixnum)
@max = condition
proc { |row_num| condition === row_num }
else
- raise ArgumentException.new('Can only take Range, Integers or Arrays here')
+ raise ArgumentError.new('Can only take Range, Integers or Arrays')
end
@row_index = 0
end
def match?(row_num)
\ No newline at end of file