File: //usr/local/rvm/gems/default/doc/actionview-6.1.4.1/ri/ActionView/RecordIdentifier/dom_class-i.ri
U:RDoc::AnyMethod[iI"dom_class:ETI"+ActionView::RecordIdentifier#dom_class;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"PThe DOM class convention is to use the singular form of an object or class.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"#dom_class(post) # => "post"
;TI"%dom_class(Person) # => "person"
;T:@format0o;
; [I"pIf you need to address multiple instances of the same class in the same view, you can prefix the dom_class:;T@o;; [I"/dom_class(post, :edit) # => "edit_post"
;TI"0dom_class(Person, :edit) # => "edit_person";T;
0:
@fileI")lib/action_view/record_identifier.rb;T:0@omit_headings_from_table_of_contents_below000[ I"$(record_or_class, prefix = nil);T@FI"RecordIdentifier;TcRDoc::NormalModule00