lib/fluent/plugin/map_config_param.rb in fluent-plugin-map-0.1.3 vs lib/fluent/plugin/map_config_param.rb in fluent-plugin-map-0.2.0

- old
+ new

@@ -13,18 +13,20 @@ # See the License for the specific language governing permissions and # limitations under the License. # module Fluent - module MapConfigParam - def self.included(klass) - klass.instance_eval { - config_param :map, :string, :default => nil - config_param :time, :string, :default => nil - config_param :record, :string, :default => nil - config_param :multi, :bool, :default => false - config_param :timeout, :time, :default => 1 - config_param :format, :string, :default => nil - } + module Plugin + module MapConfigParam + def self.included(klass) + klass.instance_eval { + config_param :map, :string, :default => nil + config_param :time, :string, :default => nil + config_param :record, :string, :default => nil + config_param :multi, :bool, :default => false + config_param :timeout, :time, :default => 1 + config_param :format, :string, :default => nil + } + end end end end