method

new

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: FormatError
new(message, source = nil) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/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
Register or log in to add new notes.