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.
95 96 97 |
# File 'lib/zmb/plugin.rb', line 95 def definitition_file @definitition_file end |
#description ⇒ Object
Returns the value of attribute description.
95 96 97 |
# File 'lib/zmb/plugin.rb', line 95 def description @description end |
#multi_instances ⇒ Object
Returns the value of attribute multi_instances.
95 96 97 |
# File 'lib/zmb/plugin.rb', line 95 def multi_instances @multi_instances end |
#name ⇒ Object
Returns the value of attribute name.
95 96 97 |
# File 'lib/zmb/plugin.rb', line 95 def name @name end |
#object ⇒ Object
Returns the value of attribute object.
95 96 97 |
# File 'lib/zmb/plugin.rb', line 95 def object @object end |
Class Method Details
.define(&block) ⇒ Object
97 98 99 100 101 |
# File 'lib/zmb/plugin.rb', line 97 def self.define(&block) builder = PluginBuilder.new(&block) builder.build builder.plugin end |
Instance Method Details
#multi_instances? ⇒ Boolean
103 104 105 106 107 108 109 |
# File 'lib/zmb/plugin.rb', line 103 def multi_instances? if @multi_instances then @multi_instances else false end end |