From 730118539e00186258208e52b8406be2b229cb7b Mon Sep 17 00:00:00 2001 From: Wojciech Piekutowski Date: Sun, 20 Feb 2011 15:35:22 +0100 Subject: [PATCH] Remove duplicated #data reader from BSON::ObjectId --- lib/bson/types/object_id.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/bson/types/object_id.rb b/lib/bson/types/object_id.rb index 8813598..fcb0e3a 100644 --- a/lib/bson/types/object_id.rb +++ b/lib/bson/types/object_id.rb @@ -105,13 +105,6 @@ module BSON @data.dup end - # Get the array representation without cloning. - # - # @return [Array] - def data - @data - end - # Given a string representation of an ObjectId, return a new ObjectId # with that value. #