Class: ModSpox::Messages::Internal::PluginReload

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#freshObject (readonly)

Path to new plugin to load



8
9
10
# File 'lib/mod_spox/messages/internal/PluginReload.rb', line 8

def fresh
  @fresh
end

#staleObject (readonly)

Path to stale plugin to remove



10
11
12
# File 'lib/mod_spox/messages/internal/PluginReload.rb', line 10

def stale
  @stale
end