summaryrefslogtreecommitdiff
path: root/lib/json/pure/generator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/json/pure/generator.rb')
-rw-r--r--lib/json/pure/generator.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/json/pure/generator.rb b/lib/json/pure/generator.rb
index 9056a5d..225081f 100644
--- a/lib/json/pure/generator.rb
+++ b/lib/json/pure/generator.rb
@@ -286,8 +286,9 @@ module JSON
alias to_hash to_h
- # Generates a valid JSON document from object +obj+ and returns the
- # result. If no valid JSON document can be created this method raises a
+ # Generates a valid JSON document from object +obj+ and
+ # returns the result. If no valid JSON document can be
+ # created this method raises a
# GeneratorError exception.
def generate(obj)
result = obj.to_json(self)