Module | Virtus::ClassMethods |
In: |
lib/virtus/class_methods.rb
|
Class methods that are added when you include Virtus
Returns all the attributes defined on a Class
@example
class User include Virtus attribute :name, String attribute :age, Integer end User.attribute_set # => TODO: implement inspect so the output is not cluttered - solnic
@return [AttributeSet]
@api public