lucky_inflector

Version, currently 0.1.11 version
  • 0.1.1latestDec 27, 2017

github.com/luckyframework/lucky_inflector

This project has been moved to ->

8 stars
1 dependent
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  lucky_inflector:
    github: luckyframework/lucky_inflector
    version: ~> 0.1.1

Then run:

shards install

shard.yml

Crystal
0.24.1
License
MIT
Authors
Paul Smith, Flinn Mueller

Dependencies

This version declares no dependencies.

README

LuckyInflector

This project is still new. Guides will be posted when things are more complete.

Installation

Add this to your application's shard.yml:

dependencies:
  lucky_inflector:
    github: luckyframework/lucky_inflector

Usage

require "lucky_inflector"

LuckyInflector::Inflector.pluralize("word") # "words"
LuckyInflector::Inflector.singularize("categories") # "category"

Contributing

  1. Fork it ( https://github.com/luckyframework/lucky_inflector/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Testing

To run the tests:

  • Run the tests with crystal spec

Contributors

Thanks & attributions

  • Inflector is based on Rails. Thank you to the Rails team!