lib/sequel/model/default_inflections.rb in sequel-4.49.0 vs lib/sequel/model/default_inflections.rb in sequel-5.0.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen-string-literal: true
module Sequel
- # Proc that is instance evaled to create the default inflections for both the
+ # Proc that is instance_execed to create the default inflections for both the
# model inflector and the inflector extension.
DEFAULT_INFLECTIONS_PROC = proc do
plural(/$/, 's')
plural(/s$/i, 's')
plural(/(alias|(?:stat|octop|vir|b)us)$/i, '\1es')