module Riposte::Helper

Public Instance Methods

react_to(type, *params) { |reaction| ... } click to toggle source
# File lib/riposte/helper.rb, line 3
def react_to(type, *params)
  Reaction.new(type, *params).tap { |reaction|
    yield reaction if block_given?
  }
end