--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "The DOM class convention is to use the singular form of an object or class. Examples:"
- !ruby/struct:SM::Flow::VERB 
  body: "  dom_class(post)   # =&gt; &quot;post&quot;\n  dom_class(Person) # =&gt; &quot;person&quot;\n"
- !ruby/struct:SM::Flow::P 
  body: "If you need to address multiple instances of the same class in the same view, you can prefix the dom_class:"
- !ruby/struct:SM::Flow::VERB 
  body: "  dom_class(post, :edit)   # =&gt; &quot;edit_post&quot;\n  dom_class(Person, :edit) # =&gt; &quot;edit_person&quot;\n"
full_name: ActionController::RecordIdentifier#dom_class
is_singleton: false
name: dom_class
params: (record_or_class, prefix = nil)
visibility: public
