summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/package.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/package.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/package.rb')
-rw-r--r--lib/axlsx/package.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/axlsx/package.rb b/lib/axlsx/package.rb
index 56410339..56047f02 100644
--- a/lib/axlsx/package.rb
+++ b/lib/axlsx/package.rb
@@ -68,13 +68,6 @@ module Axlsx
@workbook
end
- #def self.parse(input, confirm_valid = false)
- # p = Package.new
- # z = Zip::File.open(input)
- # p.workbook = Workbook.parse z.get_entry(WORKBOOK_PN)
- # p
- #end
-
# @see workbook
def workbook=(workbook) DataTypeValidator.validate :Package_workbook, Workbook, workbook; @workbook = workbook; end
@@ -355,4 +348,3 @@ module Axlsx
end
end
end
-