Closed vaibhavmdhoke closed 5 years ago
Some here with v3.3.3.. v3.3.1 works fine.
Can you please try 3.4.0
?
With 3.4.0 I get
"undefined method insert_row' for #<RubyXL::Worksheet:0x007fb7ce18d278>" and "undefined method
change_contents' for #<RubyXL::Cell(4,2): nil, datatype=nil, style_index=41>"
Looks like it breaks a lot more.
@341bms You are attempting to use convenience methods without first including them. Read the README file for 3.4.0.
Error: TypeError - can't dup NilClass: This is my underlying code which tries to set alignment,
set_cell_style(worksheet.sheet_data[4][col_start + 1], { :bold => true, :alignment => "center", :border => "box" })
Code breaks at /rubyXL-3.3.33/lib/rubyXL/convenience_methods.rb +154