diff options
author | dblock <dblock@dblock.org> | 2014-04-30 13:34:37 -0400 |
---|---|---|
committer | dblock <dblock@dblock.org> | 2014-04-30 21:00:01 -0400 |
commit | c982c75fb600de57ab47bde5df321585d4788163 (patch) | |
tree | db9c3bbea04f7bbafd2d1a285029e29c2db37b85 /lib/hashie/dash.rb | |
parent | 6bb94f89891f8035a77a5115880ba9096abfd4f8 (diff) | |
download | hashie-c982c75fb600de57ab47bde5df321585d4788163.tar.gz |
Reorganized extensions, consolidated Hashie StringifyKeys implementation.
Diffstat (limited to 'lib/hashie/dash.rb')
-rw-r--r-- | lib/hashie/dash.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/hashie/dash.rb b/lib/hashie/dash.rb index e6af9ac..a787c00 100644 --- a/lib/hashie/dash.rb +++ b/lib/hashie/dash.rb @@ -13,7 +13,8 @@ module Hashie # It is preferrable to a Struct because of the in-class # API for defining properties as well as per-property defaults. class Dash < Hash - include PrettyInspect + include Hashie::Extensions::PrettyInspect + alias_method :to_s, :inspect # Defines a property on the Dash. Options are |