method

from_message

from_message(message)
public

No documentation available.

# File activesupport/lib/active_support/core_ext/load_error.rb, line 12
  def self.from_message(message)
    REGEXPS.each do |regexp, capture|
      match = regexp.match(message)
      return MissingSourceFile.new(message, match[capture]) unless match.nil?
    end
    nil
  end