instance method
dom_class
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
dom_class(*args, &block)
See ActionController::RecordIdentifier.dom_class – this is just a delegate to that for convenient access in the view.
Parameters
-
argsrest -
blockblock
Source
# File actionpack/lib/action_view/helpers/record_identification_helper.rb, line 10
def dom_class(*args, &block)
ActionController::RecordIdentifier.dom_class(*args, &block)
end
Defined in actionpack/lib/action_view/helpers/record_identification_helper.rb line 10
· View on GitHub
· Improve this page
· Find usages on GitHub