summaryrefslogtreecommitdiff
path: root/lib/hashie.rb
diff options
context:
space:
mode:
authorAlbert Salim <albertlimca@gmail.com>2020-09-19 13:02:13 +0800
committerAlbert Salim <albertlimca@gmail.com>2020-09-20 11:26:57 +0800
commit4cd2844357adfe9321e31c02b76c9945baaeffe4 (patch)
treed14c852181ddb262c475c171c69a863c70deee44 /lib/hashie.rb
parentb24d6dca2c545637bc3cc3ac4d89f565fc27a9d0 (diff)
downloadhashie-4cd2844357adfe9321e31c02b76c9945baaeffe4.tar.gz
Add Hashie::Extensions::Dash::AllowList
Extends a Dash with the ability to accept only predefined values on a property. #61
Diffstat (limited to 'lib/hashie.rb')
-rw-r--r--lib/hashie.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hashie.rb b/lib/hashie.rb
index 7f88ed4..8f526c4 100644
--- a/lib/hashie.rb
+++ b/lib/hashie.rb
@@ -41,6 +41,7 @@ module Hashie
autoload :IndifferentAccess, 'hashie/extensions/dash/indifferent_access'
autoload :PropertyTranslation, 'hashie/extensions/dash/property_translation'
autoload :Coercion, 'hashie/extensions/dash/coercion'
+ autoload :PredefinedValues, 'hashie/extensions/dash/predefined_values'
end
module Mash