Sha256: fae53cd210b1f29314f80b9ba9f4562eeb340afb631e43ced89af51cc02b0062
Contents?: true
Size: 744 Bytes
Versions: 2
Compression:
Stored size: 744 Bytes
Contents
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Capitalizes all the words and replaces some characters in the string to create a nicer looking title. Titleize is meant for creating pretty output. It is not used in the Rails internals. - !ruby/struct:SM::Flow::P body: titleize is also aliased as as titlecase - !ruby/struct:SM::Flow::P body: Examples - !ruby/struct:SM::Flow::VERB body: " "man from the boondocks".titleize #=> "Man From The Boondocks"\n "x-men: the last stand".titleize #=> "X Men: The Last Stand"\n" full_name: String::Style::titleize is_singleton: true name: titleize params: (word) visibility: public
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-2.4.2 | doc/ri/String/Style/titleize-c.yaml |
facets-2.4.3 | doc/ri/String/Style/titleize-c.yaml |