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/default/doc/activesupport-6.1.4.1/ri/ActiveSupport/Inflector/constantize-i.ri
U:RDoc::AnyMethod[iI"constantize:ETI")ActiveSupport::Inflector#constantize;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"MTries to find a constant with the name specified in the argument string.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I")constantize('Module')   # => Module
;TI"+constantize('Foo::Bar') # => Foo::Bar
;T:@format0o;
;	[I"JThe name is assumed to be the one of a top-level constant, no matter ;TI"Jwhether it starts with "::" or not. No lexical context is taken into ;TI"
account:;T@o;;	[I"C = 'outside'
;TI"module M
;TI"  C = 'inside'
;TI"&  C                # => 'inside'
;TI"4  constantize('C') # => 'outside', same as ::C
;TI"	end
;T;
0o;
;	[I"NNameError is raised when the name is not in CamelCase or the constant is ;TI"
unknown.;T:
@fileI",lib/active_support/inflector/methods.rb;T:0@omit_headings_from_table_of_contents_below000[I"(camel_cased_word);T@$FI"Inflector;TcRDoc::NormalModule00