Function adjustMethodStyle

Adjusts the naming convention for a given function name to the specified style.

The input name is assumed to be in lowerCamelCase (D-style) or PascalCase. Acronyms (e.g. "HTML") should be written all caps

Prototype

string adjustMethodStyle(
  string name,
  MethodStyle style
);

Authors

Sönke Ludwig, Михаил Страшун

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.