Rename parameter

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
Kenji Okimoto 2018-09-13 12:25:28 +09:00
parent 5a31d9b9d0
commit 9967db7b4e
No known key found for this signature in database
GPG Key ID: F9E3E329A5C5E4A1

View File

@ -145,8 +145,8 @@ class Fluentd
end
end
def parse_config(config_content)
scanner = StringScanner.new(config_content)
def parse_config(content)
scanner = StringScanner.new(content)
contents = Hash.new {|h, k| h[k] = [] }
until scanner.eos? do
started = scanner.pos