Skip to Content Skip to Search
Methods
N

Attributes

[R] path

Class Public methods

new(message, source = nil)

# File ruby/lib/rubygems/package.rb, line 59
def initialize(message, source = nil)
  if source
    @path = source.is_a?(String) ? source : source.path

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

  super message
end