lib/validatious/helper_methods.rb in validatious-0.2.0 vs lib/validatious/helper_methods.rb in validatious-0.3.0

- old
+ new

@@ -8,8 +8,12 @@ def validates_email_format_of(*attr_names) validates_with EmailValidator, _merge_attributes(attr_names) end + def validates_text_content_of(*attr_names) + validates_with TextContentValidator, _merge_attributes(attr_names) + end + end end end \ No newline at end of file