Class: Thunderbird
- Inherits:
-
Object
- Object
- Thunderbird
- Defined in:
- lib/thunderbird.rb
Defined Under Namespace
Classes: Install, LocalFolder, MailboxExporter, Profile, Profiles, Subdirectory, SubdirectoryPlaceholder
Instance Method Summary collapse
Instance Method Details
#data_path ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/thunderbird.rb', line 4 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 |