aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/plugin.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/plugin.rb')
-rw-r--r--lib/bundler/plugin.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/plugin.rb b/lib/bundler/plugin.rb
index 00b4d9e9..f97de2b2 100644
--- a/lib/bundler/plugin.rb
+++ b/lib/bundler/plugin.rb
@@ -8,8 +8,8 @@ module Bundler
autoload :Installer, "bundler/plugin/installer"
autoload :SourceList, "bundler/plugin/source_list"
- MalformattedPlugin = Class.new(PluginError)
- UndefinedCommandError = Class.new(PluginError)
+ class MalformattedPlugin < PluginError; end
+ class UndefinedCommandError < PluginError; end
PLUGIN_FILE_NAME = "plugins.rb".freeze