Sha256: ca8e4c3e361264528489bce192a84b64317ba7f2d8d18cf8775b839cb7dc1d92
Contents?: true
Size: 190 Bytes
Versions: 6
Compression:
Stored size: 190 Bytes
Contents
module Judge module Html extend self def attrs_for(object, method) { "data-validate" => ValidatorCollection.new(object, method).to_json } end end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
judge-2.0.5 | lib/judge/html.rb |
judge-2.0.4 | lib/judge/html.rb |
judge-2.0.3 | lib/judge/html.rb |
judge-2.0.2 | lib/judge/html.rb |
judge-2.0.1 | lib/judge/html.rb |
judge-2.0.0 | lib/judge/html.rb |