Class: Chronicle::ETL::Registry::PluginRegistration
- Inherits:
-
Object
- Object
- Chronicle::ETL::Registry::PluginRegistration
- Defined in:
- lib/chronicle/etl/registry/plugin_registration.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#gem ⇒ Object
Returns the value of attribute gem.
-
#gemspec ⇒ Object
Returns the value of attribute gemspec.
-
#installed ⇒ Object
Returns the value of attribute installed.
-
#name ⇒ Object
Returns the value of attribute name.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(name = nil) {|_self| ... } ⇒ PluginRegistration
constructor
A new instance of PluginRegistration.
- #installed? ⇒ Boolean
Constructor Details
#initialize(name = nil) {|_self| ... } ⇒ PluginRegistration
Returns a new instance of PluginRegistration.
7 8 9 10 11 |
# File 'lib/chronicle/etl/registry/plugin_registration.rb', line 7 def initialize(name = nil) @installed = false @name = name yield self if block_given? end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/chronicle/etl/registry/plugin_registration.rb', line 5 def description @description end |
#gem ⇒ Object
Returns the value of attribute gem.
5 6 7 |
# File 'lib/chronicle/etl/registry/plugin_registration.rb', line 5 def gem @gem end |
#gemspec ⇒ Object
Returns the value of attribute gemspec.
5 6 7 |
# File 'lib/chronicle/etl/registry/plugin_registration.rb', line 5 def gemspec @gemspec end |
#installed ⇒ Object
Returns the value of attribute installed.
5 6 7 |
# File 'lib/chronicle/etl/registry/plugin_registration.rb', line 5 def installed @installed end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/chronicle/etl/registry/plugin_registration.rb', line 5 def name @name end |
#version ⇒ Object
Returns the value of attribute version.
5 6 7 |
# File 'lib/chronicle/etl/registry/plugin_registration.rb', line 5 def version @version end |
Instance Method Details
#installed? ⇒ Boolean
13 14 15 |
# File 'lib/chronicle/etl/registry/plugin_registration.rb', line 13 def installed? @installed || false end |