All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.specs2.io.Paths.scala Maven / Gradle / Ivy

The newest version!
package org.specs2
package io

/**
 * This trait provides implicit conversions from strings to a Path object providing path-related functions like
 * setting all the separators as UNIX separators.
 */
private[specs2]
trait Paths { outer =>
  implicit class Path(s: String) {
    def unixize = s.replace("\\", "/")
  }
}

private[specs2]
object Paths extends Paths




© 2015 - 2024 Weber Informatics LLC | Privacy Policy