File: //usr/local/rvm/gems/ruby-2.7.4/doc/activesupport-6.1.4.1/ri/String/pluralize-i.ri
U:RDoc::AnyMethod[iI"pluralize:ETI"String#pluralize;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"7Returns the plural form of the word in the string.;To:RDoc::Markup::BlankLine o;
; [I"5If the optional parameter +count+ is specified, ;TI"@the singular form will be returned if <tt>count == 1</tt>. ;TI"@For any other value of +count+ the plural will be returned.;T@o;
; [ I"6If the optional parameter +locale+ is specified, ;TI"=the word will be pluralized as a word of that language. ;TI"8By default, this parameter is set to <tt>:en</tt>. ;TI"PYou must define your own inflection rules for languages other than English.;T@o:RDoc::Markup::Verbatim; [I"/'post'.pluralize # => "posts"
;TI"0'octopus'.pluralize # => "octopi"
;TI"/'sheep'.pluralize # => "sheep"
;TI"/'words'.pluralize # => "words"
;TI":'the blue mailman'.pluralize # => "the blue mailmen"
;TI"5'CamelOctopus'.pluralize # => "CamelOctopi"
;TI"/'apple'.pluralize(1) # => "apple"
;TI"0'apple'.pluralize(2) # => "apples"
;TI"/'ley'.pluralize(:es) # => "leyes"
;TI"-'ley'.pluralize(1, :es) # => "ley"
;T:@format0o;
; [I",See ActiveSupport::Inflector.pluralize.;T:
@fileI"6lib/active_support/core_ext/string/inflections.rb;T:0@omit_headings_from_table_of_contents_below000[ I" (count = nil, locale = :en);T@)FI"String;TcRDoc::NormalClass00