Class: Gitlab::Triage::CommandBuilders::CommentCommandBuilder

Inherits:
BaseCommandBuilder show all
Defined in:
lib/gitlab/triage/command_builders/comment_command_builder.rb

Instance Attribute Summary

Attributes inherited from BaseCommandBuilder

#items, #network, #resource

Instance Method Summary collapse

Methods inherited from BaseCommandBuilder

#build_command, #content_string, #initialize, #slash_command_string

Constructor Details

This class inherits a constructor from Gitlab::Triage::CommandBuilders::BaseCommandBuilder

Instance Method Details

#format_item(item) ⇒ Object (private)



13
14
15
# File 'lib/gitlab/triage/command_builders/comment_command_builder.rb', line 13

def format_item(item)
  item
end

#separatorObject (private)



9
10
11
# File 'lib/gitlab/triage/command_builders/comment_command_builder.rb', line 9

def separator
  "\n\n"
end