Path: | lib/sequel/extensions/inflector.rb |
Last Update: | Sun Oct 02 21:06:53 +0000 2016 |
frozen-string-literal: true
The inflector extension adds inflection instance methods to String, which allows the easy transformation of words from singular to plural, class names to table names, modularized class names to ones without, and class names to foreign keys. It exists for backwards compatibility to legacy Sequel code.
To load the extension:
Sequel.extension :inflector
Related module: String::Inflections