Class: ModSpox::Messages::Internal::PluginReload
- Inherits:
-
Object
- Object
- ModSpox::Messages::Internal::PluginReload
- Defined in:
- lib/mod_spox/messages/internal/PluginReload.rb
Overview
Sends message to reload plugin. If new and stale attributes are set, only that plugin will be reloaded
Instance Attribute Summary collapse
-
#fresh ⇒ Object
readonly
Path to new plugin to load.
-
#stale ⇒ Object
readonly
Path to stale plugin to remove.
Instance Method Summary collapse
-
#initialize(fresh = nil, stale = nil) ⇒ PluginReload
constructor
A new instance of PluginReload.
Constructor Details
#initialize(fresh = nil, stale = nil) ⇒ PluginReload
Returns a new instance of PluginReload.
11 12 13 14 |
# File 'lib/mod_spox/messages/internal/PluginReload.rb', line 11 def initialize(fresh=nil, stale=nil) @fresh = fresh @stale = stale end |
Instance Attribute Details
#fresh ⇒ Object (readonly)
Path to new plugin to load
8 9 10 |
# File 'lib/mod_spox/messages/internal/PluginReload.rb', line 8 def fresh @fresh end |
#stale ⇒ Object (readonly)
Path to stale plugin to remove
10 11 12 |
# File 'lib/mod_spox/messages/internal/PluginReload.rb', line 10 def stale @stale end |