Fix Rubocop issues after Ruby upgrade

This commit is contained in:
Maciej Szlosarczyk 2018-04-27 15:01:39 +03:00
parent 3c1125879c
commit 15a651e51b
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
18 changed files with 25 additions and 26 deletions

View file

@ -22,7 +22,7 @@ xml.epp_head do
xml.tag!('domain:contact', ac.code, 'type' => 'admin')
end
if @nameservers && @nameservers.any?
if @nameservers&.any?
xml.tag!('domain:ns') do
@nameservers.each do |x|
xml.tag!('domain:hostAttr') do