Class: Thunderbird
- Inherits:
-
Object
- Object
- Thunderbird
- Defined in:
- lib/thunderbird.rb,
lib/thunderbird/mbox.rb,
lib/thunderbird/install.rb,
lib/thunderbird/profile.rb,
lib/thunderbird/version.rb,
lib/thunderbird/profiles.rb,
lib/thunderbird/local_folder.rb,
lib/thunderbird/subdirectory.rb,
lib/thunderbird/subdirectory_placeholder.rb
Overview
Root information
Defined Under Namespace
Modules: Version Classes: Install, LocalFolder, Mbox, Profile, Profiles, Subdirectory, SubdirectoryPlaceholder
Constant Summary collapse
Instance Method Summary collapse
Instance Method Details
#data_path ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/thunderbird.rb', line 15 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 |