Module: Service::ClassMethods

Defined in:
lib/logstash/outputs/charrington/service.rb

Overview

Adds a ‘call` method that creates a new instance and delegates to the child’s call method

Instance Method Summary collapse

Instance Method Details

#call(*args) ⇒ Object



12
13
14
# File 'lib/logstash/outputs/charrington/service.rb', line 12

def call(*args)
  new(*args).call
end