Sha256: 84cdc2031d9b613e60d3b1ff3fcb5a7a9cbee95a2ccba0d02a9801ce80459d2d
Contents?: true
Size: 233 Bytes
Versions: 5
Compression:
Stored size: 233 Bytes
Contents
module Judge module Html extend self def attrs_for(object, method) { 'data-validate' => ValidatorCollection.new(object, method).to_json, 'data-klass' => object.class.name } end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
judge-3.1.0 | lib/judge/html.rb |
judge-3.0.0 | lib/judge/html.rb |
judge-2.1.1 | lib/judge/html.rb |
judge-2.1.0 | lib/judge/html.rb |
judge-2.0.6 | lib/judge/html.rb |