fluent/fluentd

View on GitHub
templates/new_gem/lib/fluent/plugin/input.rb.erb

Summary

Maintainability
Test Coverage
<%= preamble %>

require "fluent/plugin/input"

module Fluent
  module Plugin
    class <%= class_name %> < Fluent::Plugin::Input
      Fluent::Plugin.register_input("<%= plugin_name %>", self)
    end
  end
end