Class: Gitlab::Triage::CommandBuilders::CcCommandBuilder

Inherits:
BaseCommandBuilder show all
Defined in:
lib/gitlab/triage/command_builders/cc_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, #separator

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/cc_command_builder.rb', line 13

def format_item(item)
  "@#{item}"
end

#slash_command_stringObject (private)



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

def slash_command_string
  "/cc"
end