class Field::Telephone
Public Instance Methods
attribute()
click to toggle source
# File lib/field/telephone.rb, line 12 def attribute ::Attribute::Telephone end
inject_validations()
click to toggle source
Calls superclass method
Field::Base#inject_validations
# File lib/field/telephone.rb, line 6 def inject_validations @container.validates name, telephone: true super end