123456789_123456789_123456789_123456789_123456789_

Exception: Gem::Package::PathError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Error, ::Gem::Exception, ::Gem::Deprecate, RuntimeError
Instance Chain:
self, Error, ::Gem::Exception, RuntimeError
Inherits: Gem::Package::Error
Defined in: lib/rubygems/package.rb

Class Method Summary

::Gem::Deprecate - Extended

deprecate

Simple deprecation method that deprecates name by wrapping it up in a dummy method.

skip_during

Temporarily turn off warnings.

Instance Attribute Summary

Constructor Details

.new(destination, destination_dir) ⇒ PathError

[ GitHub ]

  
# File 'lib/rubygems/package.rb', line 73

def initialize(destination, destination_dir)
  super "installing into parent path %s of %s is not allowed" %
          [destination, destination_dir]
end