lib/roo/openoffice.rb in roo-0.8.5 vs lib/roo/openoffice.rb in roo-0.9.0
- old
+ new
@@ -161,22 +161,9 @@
end
end
return_sheets
end
- # set the working sheet in the document
- def default_sheet=(sheet)
- if ! sheet.kind_of?(String)
- raise TypeError, "what are you trying to set as default sheet?"
- end
- @default_sheet = sheet
- check_default_sheet
- @first_row[sheet] = @last_row[sheet] = @first_column[sheet] = @last_column[sheet] = nil
- @cells_read[sheet] = false
- end
-
- alias set_default_sheet default_sheet=
-
# version of the openoffice document
# at 2007 this is always "1.0"
def officeversion
# read_cells(false) unless @cells_read
oo_version