Module: CodeRay::PluginHost

Defined in:
lib/wunderbar/coderay.rb

Overview

Instance Method Summary collapse

Instance Method Details

#old_plugin_pathObject



7
# File 'lib/wunderbar/coderay.rb', line 7

alias_method :old_plugin_path, :plugin_path

#plugin_path(*args) ⇒ Object



8
9
10
11
# File 'lib/wunderbar/coderay.rb', line 8

def plugin_path *args
  args.first.untaint if args.first == CodeRay::CODERAY_PATH
  old_plugin_path *args
end