File: //usr/local/rvm/gems/default/doc/activesupport-6.1.4.1/ri/ActiveSupport/Inflector/singularize-i.ri
U:RDoc::AnyMethod[iI"singularize:ETI")ActiveSupport::Inflector#singularize;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"IThe reverse of #pluralize, returns the singular form of a word in a ;TI"string.;To:RDoc::Markup::BlankLine o;
; [I"@If passed an optional +locale+ parameter, the word will be ;TI"Esingularized using rules defined for that language. By default, ;TI"+this parameter is set to <tt>:en</tt>.;T@o:RDoc::Markup::Verbatim; [I"1singularize('posts') # => "post"
;TI"4singularize('octopi') # => "octopus"
;TI"2singularize('sheep') # => "sheep"
;TI"1singularize('word') # => "word"
;TI"9singularize('CamelOctopi') # => "CamelOctopus"
;TI"/singularize('leyes', :es) # => "ley";T:@format0:
@fileI",lib/active_support/inflector/methods.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(word, locale = :en);T@FI"Inflector;TcRDoc::NormalModule00