lib/active_support/inflector/inflections.rb in activesupport-3.2.6 vs lib/active_support/inflector/inflections.rb in activesupport-3.2.7.rc1
- old
+ new
@@ -1,6 +1,8 @@
module ActiveSupport
module Inflector
+ extend self
+
# A singleton instance of this class is yielded by Inflector.inflections, which can then be used to specify additional
# inflection rules. Examples:
#
# ActiveSupport::Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, '\1\2en'