File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11# CFML Inflector
22
33This is a ColdFusion component which provides the ability to transform
4- words from singular to plural (and back again), capitalises, PascalCase or CamelCases
4+ words from singular to plural (and back again), capitalises, PascelCase or CamelCases
55and humanises. It is based on the Ruby on Rails
66[ ActiveSupport::Inflector] [ rails-inflector ] class.
77
@@ -34,12 +34,12 @@ Pluralisation and singularisation both take into account:
3434 becomes ` Test `
3535* ` camelCase ` converts a given string to CamelCase, with all
3636 non-alphanumeric characters stripped: ` camel_case ` becomes ` camelCase `
37- * ` PascalCase ` converts a given string to PascalCase , with all
38- non-alphanumeric characters stripped: ` pascal_case ` becomes ` PascalCase `
37+ * ` PascelCase ` converts a given string to PascelCase , with all
38+ non-alphanumeric characters stripped: ` pascal_case ` becomes ` PascelCase `
3939* ` variablise ` converts a string to an underscore-separated list:
40- ` PascalCase ` or ` camelCase ` becomes ` camel_case `
40+ ` PascelCase ` or ` camelCase ` becomes ` camel_case `
4141* ` humanise ` converts a string to a human-readable form:
42- ` PascalCase ` or ` CamelCase ` becomes ` Camel Case `
42+ ` PascelCase ` or ` CamelCase ` becomes ` Camel Case `
4343* ` pad ` pads a given string with spaces.
4444
4545See ` test/tests/InflectorTest.cfc ` for how other strings are handled.
You can’t perform that action at this time.
0 commit comments