mirror of
https://github.com/cmur2/dyndnsd.git
synced 2026-11-25 13:51:36 +01:00
gem: fix applicable rubocop todos
This commit is contained in:
1 parent
9a7c20babb
commit
21857959b5
14 files changed
+142
-401
No files matched your search
@@ -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