class Gem::Package::FormatError

Attributes

path[R]

Public Class Methods

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

    message << " in #{path}" if path
  end

  super message
end