diff options
Diffstat (limited to 'lib/coderay/helpers/plugin.rb')
-rw-r--r-- | lib/coderay/helpers/plugin.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/coderay/helpers/plugin.rb b/lib/coderay/helpers/plugin.rb index 445d500..e6017d5 100644 --- a/lib/coderay/helpers/plugin.rb +++ b/lib/coderay/helpers/plugin.rb @@ -1,3 +1,5 @@ +module CodeRay + # = PluginHost # # $Id$ @@ -310,11 +312,10 @@ module Plugin end - # Convenience method for plugin loading. # The syntax used is: # -# require_plugin '<Host ID>/<Plugin ID>' +# CodeRay.require_plugin '<Host ID>/<Plugin ID>' # # Returns the loaded plugin. def require_plugin path @@ -324,3 +325,5 @@ def require_plugin path "No host for #{host_id.inspect} found." unless host host.load plugin_id end + +end
\ No newline at end of file |