summaryrefslogtreecommitdiff
path: root/ext/json/lib/json/add/ostruct.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/lib/json/add/ostruct.rb')
-rw-r--r--ext/json/lib/json/add/ostruct.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/lib/json/add/ostruct.rb b/ext/json/lib/json/add/ostruct.rb
index 7c13910..e064c85 100644
--- a/ext/json/lib/json/add/ostruct.rb
+++ b/ext/json/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