lib/statsample/converters.rb in statsample-1.0.1 vs lib/statsample/converters.rb in statsample-1.1.0

- old
+ new

@@ -182,9 +182,10 @@ # USE: # ds = Statsample::Excel.read("test.xls") # def read(filename, opts=Hash.new) require 'spreadsheet' + raise "options should be Hash" unless opts.is_a? Hash opts_default={ :worksheet_id=>0, :ignore_lines=>0, :empty=>[''] }