Skip to content

Commit

Permalink
Remove unused loader argument from Plugin initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
bdewater committed Dec 24, 2019
1 parent b646fc5 commit ad66c03
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/puma/plugin.rb
Expand Up @@ -10,7 +10,7 @@ def initialize

def create(name)
if cls = Plugins.find(name)
plugin = cls.new(Plugin)
plugin = cls.new
@instances << plugin
return plugin
end
Expand Down Expand Up @@ -104,10 +104,6 @@ def self.create(&blk)
Plugins.register name, cls
end

def initialize(loader)
@loader = loader
end

def in_background(&blk)
Plugins.add_background blk
end
Expand Down

0 comments on commit ad66c03

Please sign in to comment.