module OpenXml::Xlsx

Constants

REL_CALC_CHAIN
REL_DOCUMENT
REL_SHARED_STRINGS
REL_STYLES
REL_TABLE
REL_THEME
REL_WORKSHEET
TYPE_APP_PROPS
TYPE_CALC_CHAIN
TYPE_CORE_PROPS
TYPE_SHARED_STRINGS
TYPE_STYLES
TYPE_TABLE
TYPE_THEME
TYPE_WORKBOOK
TYPE_WORKSHEET
VERSION

Public Class Methods

index!(collection, item) click to toggle source
# File lib/openxml/xlsx.rb, line 21
def self.index!(collection, item)
  collection.index(item) || collection.push(item).length - 1
end