ruby_inflector 0.0.10

Adds String based inflections for Rust. Snake, kebab, camel, sentence, class, title and table cases as well as ordinalize, deordinalize, demodulize, foreign key, and pluralize/singularize are supported as both traits and pure functions acting on String types. Intended to emulate the behavior of ActiveSupport::Inflector in Ruby as closely as possible. https://api.rubyonrails.org/classes/ActiveSupport/Inflector.html
Documentation
/// Provides deconstantizea string.
///
/// Example string `Foo::Bar` becomes `Foo`
pub mod deconstantize;
pub use deconstantize::deconstantize;

/// Provides demodulize a string.
///
/// Example string `Foo::Bar` becomes `Bar`
pub mod demodulize;
pub use demodulize::demodulize;

/// Provides conversion to plural strings.
///
/// Example string `FooBar` -> `FooBars`
pub mod pluralize;
pub use pluralize::to_plural;

/// Provides conversion to singular strings.
///
/// Example string `FooBars` -> `FooBar`
pub mod singularize;
pub use singularize::to_singular;

mod constants;