class Fluent::SlackQuoteFilter
Public Instance Methods
configure(conf)
click to toggle source
Calls superclass method
# File lib/fluent/plugin/filter_slack_quote.rb, line 5 def configure(conf) super end
filter(tag, time, record)
click to toggle source
# File lib/fluent/plugin/filter_slack_quote.rb, line 17 def filter(tag, time, record) if message = record['message'] filtered_message = "> #{message}" record = record.dup.tap {|r| r['message'] = filtered_message } end record end
shutdown()
click to toggle source
Calls superclass method
# File lib/fluent/plugin/filter_slack_quote.rb, line 13 def shutdown super end
start()
click to toggle source
Calls superclass method
# File lib/fluent/plugin/filter_slack_quote.rb, line 9 def start super end