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
# File lib/virtus/class_methods.rb, line 38 def attribute_set @attribute_set end
@see Virtus::ClassMethods.attribute_set
@deprecated
@api public
# File lib/virtus/class_methods.rb, line 47 def attributes warn "#{self}.attributes is deprecated. Use #{self}.attribute_set instead: #{caller.first}" attribute_set end
Generated with the Darkfish Rdoc Generator 2.