Class: Plugin
- Inherits:
-
Object
- Object
- Plugin
- Defined in:
- lib/zmb/plugin.rb
Instance Attribute Summary collapse
-
#definitition_file ⇒ Object
Returns the value of attribute definitition_file.
-
#description ⇒ Object
Returns the value of attribute description.
-
#multi_instances ⇒ Object
Returns the value of attribute multi_instances.
-
#name ⇒ Object
Returns the value of attribute name.
-
#object ⇒ Object
Returns the value of attribute object.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#definitition_file ⇒ Object
Returns the value of attribute definitition_file.
96 97 98 |
# File 'lib/zmb/plugin.rb', line 96 def definitition_file @definitition_file end |
#description ⇒ Object
Returns the value of attribute description.
96 97 98 |
# File 'lib/zmb/plugin.rb', line 96 def description @description end |
#multi_instances ⇒ Object
Returns the value of attribute multi_instances.
96 97 98 |
# File 'lib/zmb/plugin.rb', line 96 def multi_instances @multi_instances end |
#name ⇒ Object
Returns the value of attribute name.
96 97 98 |
# File 'lib/zmb/plugin.rb', line 96 def name @name end |
#object ⇒ Object
Returns the value of attribute object.
96 97 98 |
# File 'lib/zmb/plugin.rb', line 96 def object @object end |
Class Method Details
.define(&block) ⇒ Object
98 99 100 101 102 |
# File 'lib/zmb/plugin.rb', line 98 def self.define(&block) builder = PluginBuilder.new(&block) builder.build builder.plugin end |
Instance Method Details
#multi_instances? ⇒ Boolean
104 105 106 107 108 109 110 |
# File 'lib/zmb/plugin.rb', line 104 def multi_instances? if @multi_instances then @multi_instances else false end end |