summaryrefslogtreecommitdiff
path: root/lib/hashie/mash.rb
diff options
context:
space:
mode:
authorRyan Buckley <arebuckley@gmail.com>2015-01-19 11:37:14 -0800
committerRyan Buckley <arebuckley@gmail.com>2015-01-19 12:16:11 -0800
commit86a141598f340e00e19bee12efddbc9a3c817865 (patch)
tree6acc917b6bacfe0ebf2c5e8f473a3bdd29e0d69e /lib/hashie/mash.rb
parent32d904b7893be868489fa80f08d103ed819e0fbb (diff)
downloadhashie-86a141598f340e00e19bee12efddbc9a3c817865.tar.gz
add Hashie::Mash#extractable_options?
Diffstat (limited to 'lib/hashie/mash.rb')
-rw-r--r--lib/hashie/mash.rb5
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)