lib/utils.rb in SimBot-0.1.42 vs lib/utils.rb in SimBot-0.1.43
- old
+ new
@@ -248,9 +248,15 @@
end
book.write(name)
puts "Data written to #{name}"
end
+ def self.new_sheet(name)
+ book = Spreadsheet::Workbook.new
+ book.write(name)
+ puts "#{name} Created"
+ end
+
# @param [String] name
# @return [Array]
def self.read_from_spreadsheet(name)
data = []
book = Spreadsheet.open(name)