Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

The Rails Inflector for Scala

License

Notifications You must be signed in to change notification settings

mblink/scala-inflector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scala Inflector

This is a fork of https://github.com/backchatio/scala-inflector which appears to be abandoned.

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

resolvers += Resolver.bintrayRepo("bondlink", "scala-inflector")
libraryDependencies += "bondlink" %% "scala-inflector" % "1.3.7"

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

About

The Rails Inflector for Scala

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 100.0%