mirror of
https://github.com/cmur2/dyndnsd.git
synced 2025-08-07 22:33:55 +02:00
gem: fix applicable rubocop todos
This commit is contained in:
@@ -7,7 +7,7 @@ module Dyndnsd
|
||||
@command = config['command']
|
||||
@generator = Generator::Bind.new(domain, config)
|
||||
end
|
||||
|
||||
|
||||
def update(zone)
|
||||
# write zone file in bind syntax
|
||||
File.open(@zone_file, 'w') { |f| f.write(@generator.generate(zone)) }
|
||||
|
Reference in New Issue
Block a user