class Maxwell::Agent::Middleware::Chain::Entry

Attributes

klass[R]

Public Class Methods

new(klass, *args) click to toggle source
# File lib/maxwell/agent/middleware/chain.rb, line 76
def initialize(klass, *args)
  @klass = klass
  @args = args
end

Public Instance Methods

==(other) click to toggle source
# File lib/maxwell/agent/middleware/chain.rb, line 85
def ==(other)
  self.klass == other.klass
end
build() click to toggle source
# File lib/maxwell/agent/middleware/chain.rb, line 81
def build
  @klass.new(*@args)
end