Class: Teodoro::ArquivoData::Caminho

Inherits:
Object
  • Object
show all
Defined in:
lib/teodoro/arquivo_data.rb

Instance Method Summary collapse

Instance Method Details

#to_strObject



41
42
43
44
45
46
47
# File 'lib/teodoro/arquivo_data.rb', line 41

def to_str
  @to_str ||=
    File.join(
      empresa.destino_dos_arquivos_data,
      "#{windows? ? nome_do_arquivo.gsub(%r{[<|>:"/\\?*]}, '_') : nome_do_arquivo}.data"
    )
end