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)



15
16
17
# File 'lib/gitlab/triage/command_builders/cc_command_builder.rb', line 15

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

#slash_command_stringObject (private)



11
12
13
# File 'lib/gitlab/triage/command_builders/cc_command_builder.rb', line 11

def slash_command_string
  "/cc"
end