scala-inflector


License

License

MIT
Categories

Categories

Scala Languages Ant Build Tools
GroupId

GroupId

com.qvantel
ArtifactId

ArtifactId

scala-inflector_2.12
Last Version

Last Version

1.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

scala-inflector
scala-inflector
Project URL

Project URL

https://github.com/qvantel/scala-inflector
Project Organization

Project Organization

com.qvantel
Source Code Management

Source Code Management

https://github.com/qvantel/scala-inflector

Download scala-inflector_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/com.qvantel/scala-inflector_2.12/ -->
<dependency>
    <groupId>com.qvantel</groupId>
    <artifactId>scala-inflector_2.12</artifactId>
    <version>1.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.qvantel/scala-inflector_2.12/
implementation 'com.qvantel:scala-inflector_2.12:1.4.0'
// https://jarcasting.com/artifacts/com.qvantel/scala-inflector_2.12/
implementation ("com.qvantel:scala-inflector_2.12:1.4.0")
'com.qvantel:scala-inflector_2.12:jar:1.4.0'
<dependency org="com.qvantel" name="scala-inflector_2.12" rev="1.4.0">
  <artifact name="scala-inflector_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.qvantel', module='scala-inflector_2.12', version='1.4.0')
)
libraryDependencies += "com.qvantel" % "scala-inflector_2.12" % "1.4.0"
[com.qvantel/scala-inflector_2.12 "1.4.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.3

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.12 jar 3.0.8

Project Modules

There are no modules declared in this project.

Scala Inflector

Ports the ruby rails inflector code to scala.
Includes specs for the inflections.

You can use the inflections either as an object:

import mojolly.inflector.Inflector

Inflector.singularize("sheep") 

or as an implicit:

import mojolly.inflector.InflectorImports._ // this is also a trait

"sheep".singularize

Downloading

This library is published to maven-central.

libraryDependencies += "io.backchat.inflector" %% "scala-inflector" % "1.3.4"

Patches

Patches are gladly accepted from their original author. Along with any patches, please state that the patch is your original work and that you license the work to the rl project under the MIT License.

License

MIT licensed. check the LICENSE file

com.qvantel

Qvantel

Versions

Version
1.4.0
1.3.6