summaryrefslogtreecommitdiff
path: root/UPGRADING.md
diff options
context:
space:
mode:
Diffstat (limited to 'UPGRADING.md')
-rw-r--r--UPGRADING.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/UPGRADING.md b/UPGRADING.md
index 1374e10..24fe253 100644
--- a/UPGRADING.md
+++ b/UPGRADING.md
@@ -50,7 +50,7 @@ There shouldn't really be a case that anyone was relying on catching this specif
The `Hashie::Mash#load` method now accepts options, changing the interface of `Parser#initialize`. If you have a custom parser, you must update its `initialize` method.
-For example, `Hashie::Extensions::Parsers::YamlErbParser` now accepts `whitelist_classes`, `whitelist_symbols` and `aliases` options.
+For example, `Hashie::Extensions::Parsers::YamlErbParser` now accepts `permitted_classes`, `permitted_symbols` and `aliases` options.
Before:
@@ -76,7 +76,7 @@ end
Options can now be passed into `Mash#load`.
```ruby
-Mash.load(filename, whitelist_classes: [])
+Mash.load(filename, permitted_classes: [])
```
### Upgrading to 3.5.2