Spec-Zone.ru › Ruby 2.6

класс Bundler::GemRequireError

Родитель:
Bundler::BundlerError

Атрибуты

orig_exception[R]

Публичные методы класса

new(orig_exception, msg) Показать исходный код
# File lib/bundler/errors.rb, line 89
def initialize(orig_exception, msg)
  full_message = msg + "\nGem Load Error is: #{orig_exception.message}\n"\
                  "Backtrace for gem load error is:\n"\
                  "#{orig_exception.backtrace.join("\n")}\n"\
                  "Bundler Error Backtrace:\n"
  super(full_message)
  @orig_exception = orig_exception
end
Вызывает метод суперкласса Exception::new

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API