File: //usr/local/rvm/gems/ruby-2.6.8/doc/activemodel-6.1.4.1/ri/ActiveModel/Name/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"ActiveModel::Name::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KReturns a new ActiveModel::Name instance. By default, the +namespace+ ;TI"Kand +name+ option will take the namespace and name of the given class ;TI"respectively.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"module Foo
;TI" class Bar
;TI" end
;TI" end
;TI"
;TI"*ActiveModel::Name.new(Foo::Bar).to_s
;TI"# => "Foo::Bar";T:@format0:
@fileI"lib/active_model/naming.rb;T:0@omit_headings_from_table_of_contents_below000[ I")(klass, namespace = nil, name = nil);T@FI" Name;TcRDoc::NormalClass00