HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/ruby-2.5.9/doc/activesupport-6.1.4.1/ri/String/singularize-i.ri
U:RDoc::AnyMethod[iI"singularize:ETI"String#singularize;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"QThe reverse of +pluralize+, returns the singular form of a word in a string.;To:RDoc::Markup::BlankLineo;
;	[	I"6If the optional parameter +locale+ is specified, ;TI"?the word will be singularized 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"0'posts'.singularize            # => "post"
;TI"3'octopi'.singularize           # => "octopus"
;TI"1'sheep'.singularize            # => "sheep"
;TI"0'word'.singularize             # => "word"
;TI"<'the blue mailmen'.singularize # => "the blue mailman"
;TI"8'CamelOctopi'.singularize      # => "CamelOctopus"
;TI"/'leyes'.singularize(:es)       # => "ley"
;T:@format0o;
;	[I".See ActiveSupport::Inflector.singularize.;T:
@fileI"6lib/active_support/core_ext/string/inflections.rb;T:0@omit_headings_from_table_of_contents_below000[I"(locale = :en);T@!FI"String;TcRDoc::NormalClass00