diff --git a/lib/hashie/mash.rb b/lib/hashie/mash.rb index 5456bb3e..4d25b3b9 100644 --- a/lib/hashie/mash.rb +++ b/lib/hashie/mash.rb @@ -77,10 +77,6 @@ def type #:nodoc: self["type"] end - def object_id #:nodoc: - self["object_id"] - end - alias_method :regular_reader, :[] alias_method :regular_writer, :[]= diff --git a/spec/hashie/mash_spec.rb b/spec/hashie/mash_spec.rb index 71f398d2..6cd3994a 100644 --- a/spec/hashie/mash_spec.rb +++ b/spec/hashie/mash_spec.rb @@ -97,15 +97,6 @@ @mash.author.should be_nil end - it "should not call super if object_id is not a key" do - @mash.object_id.should == nil - end - - it "should return the value if object_id is a key" do - @mash.object_id = "Steve" - @mash.object_id.should == "Steve" - end - it "should not call super if id is not a key" do @mash.id.should == nil end