Exception: Bcome::Exception::DeprecationWarning

Inherits:
Base
  • Object
show all
Defined in:
lib/objects/exception/deprecation_warning.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #message, #pretty_display

Constructor Details

This class inherits a constructor from Bcome::Exception::Base

Instance Method Details

#message_prefixObject



4
5
6
7
8
# File 'lib/objects/exception/deprecation_warning.rb', line 4

def message_prefix
  msg = "Your configuration relies on a deprecated version of Bcome, with which version #{::Bcome::VERSION} is not compatible.\n\n"
  msg += "Pin your bcome gem to version 0.7.0, or see our new documentation at https://github.com/webzakimbo/bcome-kontrol for changes"
  msg
end