summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/workbook.rb
diff options
context:
space:
mode:
authorStefan Daschek <[email protected]>2019-12-03 13:11:58 +0100
committerStefan Daschek <[email protected]>2019-12-03 13:11:58 +0100
commitbf2cb814f65a1111715a698570b658d20ceb5a5b (patch)
tree3a1d304d846899dfcf8cccada0afbbe74d3cb10b /lib/axlsx/workbook/workbook.rb
parentc1307a3fff72e86074ae19b3d33f79ebebd5e3e6 (diff)
downloadcaxlsx-bf2cb814f65a1111715a698570b658d20ceb5a5b.tar.gz
caxlsx-bf2cb814f65a1111715a698570b658d20ceb5a5b.zip
Remove unused / stubbed code related to parsing xlsx files
This code was added in 3def8f8895 (back in 2011). It has never been worked on further since; `Axlsx::Parser` is not used anywhere in the whole codebase. Currently there are no plans to support parsing xlsx file anytime soon, so let‘s remove all of this dead code.
Diffstat (limited to 'lib/axlsx/workbook/workbook.rb')
-rw-r--r--lib/axlsx/workbook/workbook.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/axlsx/workbook/workbook.rb b/lib/axlsx/workbook/workbook.rb
index 7572e51f..48b7f882 100644
--- a/lib/axlsx/workbook/workbook.rb
+++ b/lib/axlsx/workbook/workbook.rb
@@ -197,15 +197,6 @@ require 'axlsx/workbook/worksheet/selection.rb'
@worksheets[index] if index
end
- # lets come back to this later when we are ready for parsing.
- #def self.parse entry
- # io = entry.get_input_stream
- # w = self.new
- # w.parser_xml = Nokogiri::XML(io.read)
- # w.parse_string :date1904, "//xmlns:workbookPr/@date1904"
- # w
- #end
-
# Creates a new Workbook
# The recomended way to work with workbooks is via Package#workbook
# @option options [Boolean] date1904. If this is not specified, date1904 is set to false. Office 2011 for Mac defaults to false.