Class: Sapphire::Plugins::Plugin
- Defined in:
- lib/sapphire/Plugins/Plugin.rb
Direct Known Subclasses
FailedControlHighlighter, FailedControlToolTip, FirebugPlugin, Highlighter, PassedControlHighlighter, VerbosePlugin
Instance Attribute Summary collapse
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#method ⇒ Object (readonly)
Returns the value of attribute method.
7 8 9 |
# File 'lib/sapphire/Plugins/Plugin.rb', line 7 def method @method end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
6 7 8 |
# File 'lib/sapphire/Plugins/Plugin.rb', line 6 def object @object end |
Class Method Details
.observe ⇒ Object
14 15 16 |
# File 'lib/sapphire/Plugins/Plugin.rb', line 14 def self.observe() end |
Instance Method Details
#observes(hash) ⇒ Object
9 10 11 12 |
# File 'lib/sapphire/Plugins/Plugin.rb', line 9 def observes(hash) @object = hash[:class] @method = hash[:method] end |