Method: Saxlsx::SheetCollectionParser#end_element
- Defined in:
- lib/saxlsx/sheet_collection_parser.rb
#end_element(name) ⇒ Object
21 22 23 24 25 26 |
# File 'lib/saxlsx/sheet_collection_parser.rb', line 21 def end_element(name) if name == :sheet @block.call Sheet.new(@current_sheet.name, @current_sheet.index, @file_system, @shared_strings) @current_sheet = nil end end |