Class: Thunderbird::Install
- Inherits:
-
Object
- Object
- Thunderbird::Install
- Defined in:
- lib/thunderbird/install.rb
Overview
Represents an installation of Thunderbird
Instance Attribute Summary collapse
-
#entries ⇒ Object
readonly
Returns the value of attribute entries.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
- #default ⇒ Object
-
#initialize(title:, entries:) ⇒ Install
constructor
entries are lines from profile.ini.
Constructor Details
#initialize(title:, entries:) ⇒ Install
entries are lines from profile.ini
12 13 14 15 |
# File 'lib/thunderbird/install.rb', line 12 def initialize(title:, entries:) @title = title @entries = entries end |
Instance Attribute Details
#entries ⇒ Object (readonly)
Returns the value of attribute entries.
9 10 11 |
# File 'lib/thunderbird/install.rb', line 9 def entries @entries end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
8 9 10 |
# File 'lib/thunderbird/install.rb', line 8 def title @title end |
Instance Method Details
#default ⇒ Object
17 18 19 |
# File 'lib/thunderbird/install.rb', line 17 def default Profiles.new.profile_for_path(entries[:Default]) end |