Skip to content

Commit 8777849

Browse files
committed
Address Layout/TrailingWhitespace offense
This commit addresses the following RuboCop offense reported at: https://buildkite.com/rails/rails/builds/110044#019140ca-55c0-4172-9b4f-f8422dd34559/1215-1221 ```ruby $ bundle exec rubocop -a activesupport/lib/active_support/json/encoding.rb Inspecting 1 file C Offenses: activesupport/lib/active_support/json/encoding.rb:34:1: C: [Corrected] Layout/EmptyLinesAroundMethodBody: Extra empty line detected at method body end. activesupport/lib/active_support/json/encoding.rb:34:1: C: [Corrected] Layout/TrailingWhitespace: Trailing whitespace detected. 1 file inspected, 2 offenses detected, 2 offenses corrected $ ``` Follow up rails#51272
1 parent 8ebd0a4 commit 8777849

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

activesupport/lib/active_support/json/encoding.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class JSONGemEncoder # :nodoc:
3131

3232
def initialize(options = nil)
3333
@options = options || {}
34-
3534
end
3635

3736
# Encode the given object into a JSON string

0 commit comments

Comments
 (0)