# File lib/fluent/plugin.rb, line 65 def load_plugin(type, name) try_load_plugin(name, type) end
# File lib/fluent/plugin.rb, line 55 def load_plugin_dir(dir) dir = File.expand_path(dir) Dir.entries(dir).sort.each {|fname| if fname =~ /\.rb$/ require File.join(dir, fname) end } nil end
# File lib/fluent/plugin.rb, line 50 def load_plugins dir = File.join(File.dirname(__FILE__), "plugin") load_plugin_dir(dir) end
# File lib/fluent/plugin.rb, line 46 def new_buffer(type) new_impl('buffer', @buffer, type) end
# File lib/fluent/plugin.rb, line 38 def new_input(type) new_impl('input', @input, type) end
# File lib/fluent/plugin.rb, line 42 def new_output(type) new_impl('output', @output, type) end
# File lib/fluent/plugin.rb, line 34 def register_buffer(type, klass) register_impl('buffer', @buffer, type, klass) end
Generated with the Darkfish Rdoc Generator 2.