Class: Alf::Types::AttrName
- Inherits:
-
Symbol
- Object
- Symbol
- Alf::Types::AttrName
- Defined in:
- lib/alf/types/attr_name.rb
Overview
Attribute name.
Attribute names are ruby symbols that match the following regular expression:
/^[a-zA-Z0-9_]+[?!]?$/
Example:
AttrName.coerce("city")
# => :city