From 0f57c3e5af9aa6171b00940cfb3f8293ce0cac09 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Wed, 19 Dec 2012 23:40:10 +0900 Subject: Removed unused relationships_index_of method in pivot_table --- lib/axlsx/workbook/worksheet/pivot_table.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/axlsx/workbook/worksheet/pivot_table.rb b/lib/axlsx/workbook/worksheet/pivot_table.rb index 515f5d09..d5a05db8 100644 --- a/lib/axlsx/workbook/worksheet/pivot_table.rb +++ b/lib/axlsx/workbook/worksheet/pivot_table.rb @@ -132,17 +132,6 @@ module Axlsx r end - # identifies the index of an object withing the collections used in generating relationships for the worksheet - # @param [Any] object the object to search for - # @return [Integer] The index of the object - # - # RM: I cannot find any place in the code base where this is actually used - # TODO: confirm with author before removal - def relationships_index_of(object) - objects = [cache_definition] - objects.index(object) - end - # The relation reference id for this table # @return [String] def rId -- cgit v1.2.3