class Opal::Builder

def read(path)

def read(path)
  path_reader.read(path) || begin
    print_list = ->(list) { "- #{list.join("\n- ")}\n" }
    message = "can't find file: #{path.inspect} in:\n" +
              print_list[path_reader.paths] +
              "\nWith the following extensions:\n" +
              print_list[path_reader.extensions] +
              "\nAnd the following processors:\n" +
              print_list[processors]
    case missing_require_severity
    when :error   then raise MissingRequire, message
    when :warning then warn message
    when :ignore  then # noop
    end
    nil
  end
end