From 901277a1db647d85b9fb9efd7b4debb872fcd166 Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Thu, 20 Dec 2018 14:55:26 -0600 Subject: [PATCH] Remove unused GetData.obj method --- lib/get_data.rb | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/lib/get_data.rb b/lib/get_data.rb index dbce8e81..295fc19f 100644 --- a/lib/get_data.rb +++ b/lib/get_data.rb @@ -29,22 +29,5 @@ module GetData end return h end - - def self.obj(obj, *methods) - methods.each do |m| - if m.is_a?(Array) - params = m[1..-1] - m = m[0] - end - - if obj != nil && obj.respond_to?(m) - obj = obj.send(m, *params) - else - return nil - end - end - return obj - end - end