diff options
author | Ryan Buckley <arebuckley@gmail.com> | 2015-01-19 11:37:14 -0800 |
---|---|---|
committer | Ryan Buckley <arebuckley@gmail.com> | 2015-01-19 12:16:11 -0800 |
commit | 86a141598f340e00e19bee12efddbc9a3c817865 (patch) | |
tree | 6acc917b6bacfe0ebf2c5e8f473a3bdd29e0d69e /lib/hashie/mash.rb | |
parent | 32d904b7893be868489fa80f08d103ed819e0fbb (diff) | |
download | hashie-86a141598f340e00e19bee12efddbc9a3c817865.tar.gz |
add Hashie::Mash#extractable_options?
Diffstat (limited to 'lib/hashie/mash.rb')
-rw-r--r-- | lib/hashie/mash.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/hashie/mash.rb b/lib/hashie/mash.rb index 5d9e847..e4927e8 100644 --- a/lib/hashie/mash.rb +++ b/lib/hashie/mash.rb @@ -250,6 +250,11 @@ module Hashie end end + # play nice with ActiveSupport Array#extract_options! + def extractable_options? + true + end + protected def method_suffix(method_name) |