Sha256: 33334eba224c8332d898dad39f3570c55d7090433919e2442c081b4879b6831b

Contents?: true

Size: 328 Bytes

Versions: 42

Compression:

Stored size: 328 Bytes

Contents

require_relative 'base_command_builder'

module Gitlab
  module Triage
    module CommandBuilders
      class LabelCommandBuilder < BaseCommandBuilder
        private

        def slash_command_string
          "/label"
        end

        def format_item(item)
          "~\"#{item}\""
        end
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
gitlab-triage-1.10.1 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.10.0 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.9.0 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.8.0 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.7.1 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.7.0 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.6.1 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.6.0 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.5.1 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.5.0 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.4.2 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.4.1 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.4.0 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.3.0 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.2.0 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.1.1 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.1.0 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.0.1 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-1.0.0 lib/gitlab/triage/command_builders/label_command_builder.rb
gitlab-triage-0.17.0 lib/gitlab/triage/command_builders/label_command_builder.rb