summaryrefslogtreecommitdiff
path: root/lib/hashie/mash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hashie/mash.rb')
-rw-r--r--lib/hashie/mash.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/hashie/mash.rb b/lib/hashie/mash.rb
index 6e45c09..f41d745 100644
--- a/lib/hashie/mash.rb
+++ b/lib/hashie/mash.rb
@@ -119,6 +119,10 @@ module Hashie
end
end
+ def with_accessors!
+ extend Hashie::Extensions::Mash::DefineAccessors
+ end
+
alias to_s inspect
# If you pass in an existing hash, it will