wrong number of arguments error
Closed this issue · 1 comments
baiph commented
I tried to make a sample code to generate report this is the code
1 - report = ODFReport::Report.new("#{Rails.root}/app/reports/test.odt") do | r |
2 - end
3 - report.generate('/home/chris/Desktop/new_ticket.odt')
but when I run it this is the error
ArgumentError: wrong number of arguments (0 for 1) in line 3. Any tips?
sandrods commented
Which version? Can you provide the stacktrace?