Class: ModSpox::Messages::Internal::PluginLoadRequest
- Defined in:
- lib/mod_spox/messages/internal/PluginLoadRequest.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
file name for plugin.
-
#path ⇒ Object
readonly
path to plugin file.
Attributes inherited from Request
Instance Method Summary collapse
-
#initialize(object, path, name = nil) ⇒ PluginLoadRequest
constructor
- object
- object requesting the load path
-
path to plugin file to be loaded Loads a plugin located at the given path.
Constructor Details
#initialize(object, path, name = nil) ⇒ PluginLoadRequest
- object
-
object requesting the load
- path
-
path to plugin file to be loaded
Loads a plugin located at the given path
13 14 15 16 17 |
# File 'lib/mod_spox/messages/internal/PluginLoadRequest.rb', line 13 def initialize(object, path, name=nil) super(object) @path = path @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
file name for plugin
9 10 11 |
# File 'lib/mod_spox/messages/internal/PluginLoadRequest.rb', line 9 def name @name end |
#path ⇒ Object (readonly)
path to plugin file
7 8 9 |
# File 'lib/mod_spox/messages/internal/PluginLoadRequest.rb', line 7 def path @path end |