class Gem::Package::FormatError

Attributes

path[R]

Public Class Methods

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

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

  super message
end