Support for the Ruby 2.4 series has ended. See here for reference.

In Files

  • rubygems/package.rb

Methods

Class/Module Index [+]

Quicksearch

Gem::Package::FormatError

Attributes

path[R]

Public Class Methods

new(message, source = nil) click to toggle source
 
               # File rubygems/package.rb, line 57
def initialize message, source = nil
  if source
    @path = source.path

    message = message + " in #{path}" if path
  end

  super message
end