Skip to content

Commit 2533df2

Browse files
committed
:nodoc: to_json_with_active_support_encoder [ci skip]
Code review by @zzak, committed from Github web UI :trollface:
1 parent a3082cb commit 2533df2

File tree

1 file changed

+1
-1
lines changed
  • activesupport/lib/active_support/core_ext/object

1 file changed

+1
-1
lines changed

activesupport/lib/active_support/core_ext/object/json.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# should give exactly the same results with or without active support.
2929
[Object, Array, FalseClass, Float, Hash, Integer, NilClass, String, TrueClass, Enumerable].each do |klass|
3030
klass.class_eval do
31-
def to_json_with_active_support_encoder(options = nil)
31+
def to_json_with_active_support_encoder(options = nil) # :nodoc:
3232
if options.is_a?(::JSON::State)
3333
# Called from JSON.{generate,dump}, forward it to JSON gem's to_json
3434
self.to_json_without_active_support_encoder(options)

0 commit comments

Comments
 (0)