Sha256: 12475bc90180997582f81283443dbe02037b7a3d5e673f26ac19b281a73067bf

Contents?: true

Size: 289 Bytes

Versions: 11

Compression:

Stored size: 289 Bytes

Contents

require "os"

class Thunderbird
  def data_path
    case
    when OS.linux?
      File.join(Dir.home, ".thunderbird")
    when OS.mac?
      File.join(Dir.home, "Library", "Thunderbird")
    when OS.windows?
      File.join(ENV["APPDATA"].gsub("\\", "/"), "Thunderbird")
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
imap-backup-5.0.0 lib/thunderbird.rb
imap-backup-4.2.2 lib/thunderbird.rb
imap-backup-4.2.1 lib/thunderbird.rb
imap-backup-4.2.0 lib/thunderbird.rb
imap-backup-4.1.2 lib/thunderbird.rb
imap-backup-4.1.1 lib/thunderbird.rb
imap-backup-4.0.7 lib/thunderbird.rb
imap-backup-4.0.6 lib/thunderbird.rb
imap-backup-4.0.5 lib/thunderbird.rb
imap-backup-4.0.4 lib/thunderbird.rb
imap-backup-4.0.3 lib/thunderbird.rb