Sha256: fe3fb634f3838cd97626cc0730994ffc37681838597c60533eb005dd5169f4c3
Contents?: true
Size: 723 Bytes
Versions: 2
Compression:
Stored size: 723 Bytes
Contents
--- !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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-2.4.2 | doc/ri/String/Style/methodize-c.yaml |
facets-2.4.3 | doc/ri/String/Style/methodize-c.yaml |