diff options
author | Florian Frank <flori@ping.de> | 2016-09-09 12:30:00 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2016-09-09 12:30:00 +0200 |
commit | 5fa62c4de8ac57d244c2acd0aa90a8440b83d3cd (patch) | |
tree | 44ca0f213571504c9ee2fb40d97cdd4d790f8b1d /lib | |
parent | 4733c379374f4c18a85d892c3265f98d8f38d823 (diff) | |
parent | f96888eb242bbb270139bc1a8d1704b70459f46f (diff) | |
download | json-5fa62c4de8ac57d244c2acd0aa90a8440b83d3cd.tar.gz |
Merge branch 'master' of github.com:flori/json
Diffstat (limited to 'lib')
-rw-r--r-- | lib/json/add/ostruct.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/json/add/ostruct.rb b/lib/json/add/ostruct.rb index 7c13910..e064c85 100644 --- a/lib/json/add/ostruct.rb +++ b/lib/json/add/ostruct.rb @@ -7,7 +7,7 @@ require 'ostruct' class OpenStruct # Deserializes JSON string by constructing new Struct object with values - # <tt>v</tt> serialized by <tt>to_json</tt>. + # <tt>t</tt> serialized by <tt>to_json</tt>. def self.json_create(object) new(object['t'] || object[:t]) end |