I have an ActiveRecord class similar to this:
class User < ActiveRecord::Base
# How do I document this?
enum status [:registering, :active, :suspended, :deleted]
end
status
attribute is used to build a state machine. How do I document that line of code using yard? The documentation needs to contain explanation of status
attribute and all it's possible states.