Sha256: 629fd0f1b6b297a307c42d3f772ad9344dcdbf8a2b68ff15504e2175c2bfdadb
Contents?: true
Size: 177 Bytes
Versions: 9
Compression:
Stored size: 177 Bytes
Contents
# HEX #### Rules ```ruby # 1. Pattern /^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/ ``` #### Usage ```ruby class User < ActiveRecord::Base validates :input_0, hex: true end ```
Version data entries
9 entries across 9 versions & 1 rubygems