--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts a module name into a valid method name This method is geared toward code reflection. - !ruby/struct:SM::Flow::P body: Examples - !ruby/struct:SM::Flow::VERB body: " Style.methodize("SuperMan") #=> "super_man"\n Style.methodize("SuperMan::Errors") #=> "super_man__errors\n Style.methodize("MyModule::MyClass") #=> "my_module__my_class"\n" - !ruby/struct:SM::Flow::P body: "See also #modulize, #pathize" full_name: String::Style::methodize is_singleton: true name: methodize params: (module_name) visibility: public