Sha256: 59dc3360da21007d9d51bd7775e9605cfad769071fe1000110ca891b6a2ac097
Contents?: true
Size: 728 Bytes
Versions: 1
Compression:
Stored size: 728 Bytes
Contents
require 'iz/version' require 'iz/alphanumeric' require 'iz/phone_number' require 'iz/credit_card' require 'iz/hexadecimal' require 'iz/binary' require 'iz/mac' require 'iz/url' module Iz def self.credit_card?(cc) !!Iz::CreditCard.is_credit_card?(cc) end def self.hexadecimal?(hexadecimal) !!Iz::Hexadecimal.is_hexadecimal?(hexadecimal) end def self.binary?(binary) !!Iz::Binary.is_binary?(binary) end def self.mac?(mac) !!Iz::Mac.is_mac?(mac) end def self.url?(url) !!Iz::Url.is_url?(url) end def self.alphanumeric?(alpha) !!Iz::Alphanumeric.is_alphanumeric?(alpha) end def self.phone_number?(phone_number) !!Iz::PhoneNumber.is_phone_number?(phone_number) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iz-0.1.0 | lib/iz.rb |