lib/smart_todo/dispatchers/base.rb
def slack_message(user, assignee)
        header = if user.key?("fallback")
          unexisting_user(assignee)
        else
          existing_user
        end

        <<~EOM
          #{header}

          You have an assigned TODO in the `#{@file}` file.
          #{@event_message}

          Here is the associated comment on your TODO:

          ```
          #{@todo_node.comment.strip}
          ```
        EOM
      end
# Prepare the content of the message to send to the TODO assignee
#
# @param user [Hash] contain information about a user
# @param assignee [String] original string handle the slack message should be sent
# @return [String]
Prepare the content of the message to send to the TODO assignee
Prepare the content of the message to send to the TODO assignee
def slack_message(user, assignee)
        header = if user.key?("fallback")
          unexisting_user(assignee)
        else
          existing_user
        end
        <<~EOM
          #{header}
          You have an assigned TODO in the `#{@file}` file.
          #{@event_message}
          Here is the associated comment on your TODO:
          ```
          #{@todo_node.comment.strip}
          ```
        EOM
      end
def slack_message ( user , assignee ) header = if user . key? ( "fallback" ) unexisting_user ( assignee ) else existing_user end <<~EOM #{ header } 

          You have an assigned TODO in the ` #{ @file } ` file.
           #{ @event_message } 

          Here is the associated comment on your TODO:

          ```
           #{ @todo_node . comment . strip } 
          ```
         EOM end
Prepare the content of the message to send to the TODO assignee
Prepare the content of the message to send to the TODO assignee
None
String
user
contain information about a user
contain information about a user
assignee
original string handle the slack message should be sent
original string handle the slack message should be sent