summaryrefslogtreecommitdiff
path: root/lib/json/add/ostruct.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/json/add/ostruct.rb')
-rw-r--r--lib/json/add/ostruct.rb2
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