summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Herold <michael.j.herold+github@gmail.com>2017-01-06 09:12:18 -0600
committerGitHub <noreply@github.com>2017-01-06 09:12:18 -0600
commit10b0eddf11f17e28dd1b73f9c84744f894b1a108 (patch)
tree46295eb626fe6b95dbfbcabba162c5a31596c718
parent87582b589fe04a9f0433478997d42aa8fa798144 (diff)
parentfaa728eb0b76ccd755256e5c104d48623366bf87 (diff)
downloadhashie-10b0eddf11f17e28dd1b73f9c84744f894b1a108.tar.gz
Merge pull request #383 from boffbowsh/patch-1
Add MergeInitializer to Coercian example
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index e030199..b55029e 100644
--- a/README.md
+++ b/README.md
@@ -44,6 +44,7 @@ Coercions allow you to set up "coercion rules" based either on the key or the va
```ruby
class Tweet < Hash
include Hashie::Extensions::Coercion
+ include Hashie::Extensions::MergeInitializer
coerce_key :user, User
end