From dcbee875847a09b04d948c363a3d4237c2f216b3 Mon Sep 17 00:00:00 2001 From: Greg Borenstein Date: Mon, 19 Jan 2009 11:44:55 -0800 Subject: [PATCH] add an inspect method to OrderedHash to make it clear that it is not a species of Array --- activesupport/lib/active_support/ordered_hash.rb | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/activesupport/lib/active_support/ordered_hash.rb b/activesupport/lib/active_support/ordered_hash.rb index 25ea505..95f0b4b 100644 --- a/activesupport/lib/active_support/ordered_hash.rb +++ b/activesupport/lib/active_support/ordered_hash.rb @@ -91,6 +91,10 @@ module ActiveSupport def merge(other_hash) dup.merge!(other_hash) end + + def inspect + "#" + end private -- 1.6.0.4