lib/facets/core/string/modulize.rb in facets-1.2.0 vs lib/facets/core/string/modulize.rb in facets-1.2.1
- old
+ new
@@ -4,10 +4,10 @@
# Converts a string into a valid ruby class or module name
# This method is geared toward code reflection.
#
# See : String#methodize, String#pathize
#
- # "my_module__my_path".modulize #=> MyModule::MyPath
+ # "my_module__my_path".modulize #=> "MyModule::MyPath"
#
# TODO :
#
# * Make sure that all scenarios return a valid ruby class name
# * Make sure it is revertible