In Files

  • ruby-3.1.2/lib/rubygems/package.rb

Methods

Files

Class/Module Index [+]

Quicksearch

Gem::Package::FormatError

Attributes

path[R]

Public Class Methods

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

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

  super message
end