weshatheleopard / rubyXL

Ruby lib for reading/writing/modifying .xlsx and .xlsm files
MIT License
1.27k stars 253 forks source link

Re-open #332 #446

Open demogorgi opened 11 months ago

demogorgi commented 11 months ago

With rubyxl_issue_332_example.xlsx

require 'rubyXL'
path = "./rubyxl_issue_332_example.xlsx"
wb = RubyXL::Parser.parse(path)
wb.write(path)
wb = RubyXL::Parser.parse(path)

results in .../.gems/gems/rubyXL-3.4.17/lib/rubyXL/objects/ooxml_object.rb:152:in block in parse: undefined method href for nil:NilClass (NoMethodError)