rubocop syntax update

This commit is contained in:
Priit Tark 2015-06-11 10:53:47 +03:00
parent 11f149bd53
commit 41f3bf3078
3 changed files with 6 additions and 2 deletions

View file

@ -230,7 +230,7 @@ module Depp
def extension_xml
xml = { _anonymus: [] }
ident = ident_xml[:_anonymus].try(:first) if !persisted?
ident = ident_xml[:_anonymus].try(:first) unless persisted?
legal = legal_document_xml[:_anonymus].try(:first)
xml[:_anonymus] << ident if ident.present?
xml[:_anonymus] << legal if legal.present?