1
2
# encoding: utf-8
malidator = Malidator.new 'foo@yandex.ru'
malidator.valid?
return true if email address is valid (no error)
return false if email address is invalid (have error)
malidator.valid?
return true if email address is valid (no error)
return false if email address is invalid (have error)
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.