lib/lita/adapter.rb in lita-3.2.0 vs lib/lita/adapter.rb in lita-3.3.0

- old
+ new

@@ -87,10 +87,10 @@ # @!method shut_down # Performs any clean up necessary when disconnecting from the chat service. # @return [void] # @abstract This should be implemented by the adapter. [:join, :part, :run, :send_messages, :set_topic, :shut_down].each do |method| - define_method(method) do + define_method(method) do |*_args| Lita.logger.warn(I18n.t("lita.adapter.method_not_implemented", method: method)) end end # Formats a name for "mentioning" a user in a group chat. Override this