관리-도구
편집 파일: capitalize%21-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Modifies <em>str</em> by converting the first character to uppercase and the remainder to lowercase. Returns <tt>nil</tt> if no changes are made. - !ruby/struct:SM::Flow::VERB body: " a = "hello"\n a.capitalize! #=> "Hello"\n a #=> "Hello"\n a.capitalize! #=> nil\n" full_name: String#capitalize! is_singleton: false name: capitalize! params: | str.capitalize! => str or nil visibility: public