Class: Firefox::Addons
- Inherits:
-
Fondue::HashClass
- Object
- Fondue::HashClass
- Firefox::Addons
- Defined in:
- lib/firefox/addons.rb
Overview
TODO: extension listing using <profile>/extensions.sqlite TODO: extension installation using zip/zip TODO: extension removal
Instance Attribute Summary collapse
-
#addons ⇒ Object
Returns the value of attribute addons.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(extension_path) ⇒ Addons
constructor
A new instance of Addons.
Methods inherited from Fondue::HashClass
get_hash_attribute, hash_attribute, #method_missing, stringify
Constructor Details
#initialize(extension_path) ⇒ Addons
Returns a new instance of Addons.
8 9 10 11 |
# File 'lib/firefox/addons.rb', line 8 def initialize extension_path @path = extension_path @addons = {} end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Fondue::HashClass
Instance Attribute Details
#addons ⇒ Object
Returns the value of attribute addons.
6 7 8 |
# File 'lib/firefox/addons.rb', line 6 def addons @addons end |
#path ⇒ Object
Returns the value of attribute path.
6 7 8 |
# File 'lib/firefox/addons.rb', line 6 def path @path end |