Class: GDK::Diagnostic::Bundler

Inherits:
Base
  • Object
show all
Defined in:
lib/gdk/diagnostic/bundler.rb

Defined Under Namespace

Classes: BundleConfig

Constant Summary collapse

TITLE =
'Bundler'

Instance Method Summary collapse

Methods inherited from Base

#message, #title

Instance Method Details

#detailObject



12
13
14
15
16
17
18
# File 'lib/gdk/diagnostic/bundler.rb', line 12

def detail
  return if success?

  output = []
  output << gitlab_bundle_config.warning_detail
  output.compact.join("\n")
end

#success?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/gdk/diagnostic/bundler.rb', line 8

def success?
  gitlab_bundle_config.bundle_path_not_set?
end