--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Modifies str by converting the first character to uppercase and the remainder to lowercase. Returns nil 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