Sha256: fd4cea345e6cd57527946ba3762c1d3cb4002c96386b4039f92343a6abcdba76
Contents?: true
Size: 749 Bytes
Versions: 2
Compression:
Stored size: 749 Bytes
Contents
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts a string into a valid ruby class or module name This method is geared toward code reflection. - !ruby/struct:SM::Flow::P body: Examples - !ruby/struct:SM::Flow::VERB body: " Style.modulize("camel_case") #=> "CamelCase"\n Style.modulize("camel/case") #=> "Camel::Case"\n Style.modulize("my_module__my_path") #=> "MyModule::MyPath"\n" - !ruby/struct:SM::Flow::P body: "See also #methodize, #pathize" full_name: String::Style::modulize is_singleton: true name: modulize params: (pathized_or_methodized_string) visibility: public
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-2.4.2 | doc/ri/String/Style/modulize-c.yaml |
facets-2.4.3 | doc/ri/String/Style/modulize-c.yaml |