Skip to content

Commit

Permalink
Create connect_decorator.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Arie authored Dec 25, 2023
1 parent e2aad2d commit 2038dc3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/decorators/tf2_line_parser/events/connect_decorator.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# frozen_string_literal: true
class TF2LineParser::Events::ConnectDecorator < TF2LineParser::EventDecorator

def message_text
icon('icon-comment')
end

def icon_text
content_tag(:em, message)
end

def text
message
end
end

0 comments on commit 2038dc3

Please sign in to comment.