module Judge::Html
Public Instance Methods
attrs_for(object, method)
click to toggle source
# File lib/judge/html.rb, line 5 def attrs_for(object, method) { 'data-validate' => ValidatorCollection.new(object, method).to_json, 'data-klass' => object.class.name } end