Extending methods in the module Inflector ?

Mathias Breuniger
2005-07-19T08:16:40Z

Hi,

I am using Rails 0.13.1.

To handle special plurals (here the french "pays" invariable),
I added the word ''pays'' to the method uncountable_words
from the module Inflector.
It seems to work.

I wonder if there is a way to add rules to the module Inflector without
modifying the file inflector.rb, like overloading or overriding a method
(I am new to the Ruby language)?

Congratulations to the developpers: great framework and great language!

Mathias Breuninger