X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/823e558b5cd2ec219d0fc7226c54f2ee7ad807d2..76e96cc0010b4db5159d3ebe360ce8e0e8729737:/doc/Lyricli/Util.html?ds=inline diff --git a/doc/Lyricli/Util.html b/doc/Lyricli/Util.html index 71499bf..a126af5 100644 --- a/doc/Lyricli/Util.html +++ b/doc/Lyricli/Util.html @@ -6,7 +6,7 @@
+This module contains several utility functions. +
++Transforms a string from snake_case to UpperCamelCase. +
++Takes a class name in snake_case and attempts to find the corresponding +class from the sources. +
++Simply escapes a param and substitutes spaces and escaped plus signs for +plus signs. +
+
-3 -4 -5+9 +10 +11 |
- # File 'lib/lyricli/util.rb', line 3 +# File 'lib/lyricli/util.rb', line 9 def camelize(str) str.split('_').map {|w| w.capitalize}.join @@ -211,29 +286,82 @@ |