File: //usr/local/rvm/gems/ruby-2.6.8/doc/activesupport-6.1.4.1/ri/String/humanize-i.ri
U:RDoc::AnyMethod[iI"
humanize:ETI"String#humanize;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"YCapitalizes the first word, turns underscores into spaces, and (by default)strips a ;TI" trailing '_id' if present. ;TI"?Like +titleize+, this is meant for creating pretty output.;To:RDoc::Markup::BlankLine o;
; [I"KThe capitalization of the first word can be turned off by setting the ;TI"/optional parameter +capitalize+ to false. ;TI"(By default, this parameter is true.;T@o;
; [I"CThe trailing '_id' can be kept and capitalized by setting the ;TI"2optional parameter +keep_id_suffix+ to true. ;TI")By default, this parameter is false.;T@o:RDoc::Markup::Verbatim; [
I"J'employee_salary'.humanize # => "Employee salary"
;TI"A'author_id'.humanize # => "Author"
;TI"A'author_id'.humanize(capitalize: false) # => "author"
;TI"='_id'.humanize # => "Id"
;TI"D'author_id'.humanize(keep_id_suffix: true) # => "Author Id"
;T:@format0o;
; [I"+See ActiveSupport::Inflector.humanize.;T:
@fileI"6lib/active_support/core_ext/string/inflections.rb;T:0@omit_headings_from_table_of_contents_below000[ I".(capitalize: true, keep_id_suffix: false);T@%FI"String;TcRDoc::NormalClass00