Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Fix a few formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Aug 24, 2016
1 parent 4a5eee4 commit 71455d7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/timber/log_devices/io.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def initialize(io = STDOUT, options = {})
@io = io
end

def close(*args)
def close(*_args)
io.close
end

Expand Down
2 changes: 1 addition & 1 deletion lib/timber/log_devices/io/formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def ansi_format?
@ansi_format == true
end

def format(log_line)
def format(_log_line)
raise NotImplementedError.new("#format is not implemented")
end

Expand Down
2 changes: 1 addition & 1 deletion lib/timber/macros/logfmt_encoder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Macros
# 2. It makes assumptions about the hash structure, and is designed
# specifically for Timber. We can reduce the edge cases and improve
# performance drastically.
module LogfmtEncoder
class LogfmtEncoder
ARRAY_DELIMITER = ",".freeze
ARRAY_END = "]".freeze
ARRAY_START = "[".freeze
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Timber
module Probes
class ActiveSupportLogSubscriber < Probe
module ActionView
class ActionView
def self.render_collection(_log_subscriber, event, &_block)
wrap(event) { yield }
end
Expand Down

0 comments on commit 71455d7

Please sign in to comment.