Sha256: fde6ef504573cd9420b8f425f6f12fc5ce3f65807a6b54a9854a11fd6242c053

Contents?: true

Size: 321 Bytes

Versions: 43

Compression:

Stored size: 321 Bytes

Contents

module Gitlab
  module Triage
    class UI
      def self.header(text, char: '=')
        header = char * text.size

        [header, text, header, nil].join("\n")
      end

      def self.debug(text)
        "[DEBUG] #{text}"
      end

      def self.warn(text)
        "[WARNING] #{text}"
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
gitlab-triage-1.28.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.27.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.26.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.25.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.24.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.23.1 lib/gitlab/triage/ui.rb
gitlab-triage-1.23.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.22.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.21.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.20.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.19.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.18.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.17.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.16.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.15.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.14.3 lib/gitlab/triage/ui.rb
gitlab-triage-1.14.2 lib/gitlab/triage/ui.rb
gitlab-triage-1.14.1 lib/gitlab/triage/ui.rb
gitlab-triage-1.14.0 lib/gitlab/triage/ui.rb
gitlab-triage-1.13.0 lib/gitlab/triage/ui.rb