lib/fusuma/plugin/inputs/input.rb in fusuma-3.6.0 vs lib/fusuma/plugin/inputs/input.rb in fusuma-3.6.1

- old
+ new

@@ -8,11 +8,11 @@ module Inputs # Inherite this base # @abstract Subclass and override {#io} to implement class Input < Base def initialize(*args) - super(*args) + super @tag = self.class.name.split("Inputs::").last.underscore end attr_reader :tag @@ -39,14 +39,9 @@ MultiLogger.error "Shutdown fusuma process..." Process.kill("TERM", Process.pid) rescue => e MultiLogger.error "#{self.class.name}: #{e}" exit 1 - end - - # @return [Integer] - def pid - raise NotImplementedError, "override #{self.class.name}##{__method__}" end # @return [IO] def io raise NotImplementedError, "override #{self.class.name}##{__method__}"