Sha256: 0ce92a6a761df9fc93016cff52d270e92ecbc6a43a71108815880429a1d73bb5
Contents?: true
Size: 374 Bytes
Versions: 2
Compression:
Stored size: 374 Bytes
Contents
require 'unicode/emoji' require 'active_model' require 'emoji/validator/version' require 'emoji/validator/no_emoji_anywhere_validator' require 'emoji/validator/no_emoji_validator' module Emoji # <tt>ActiveModel</tt> and <tt>ActiveRecord</tt> validators to prevent # emojis from being present in your attributes module Validator # Your code goes here... end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
emoji-validator-0.1.3 | lib/emoji/validator.rb |
emoji-validator-0.1.2 | lib/emoji/validator.rb |