Virtus::InstanceMethods#reset_attribute

Parsed documentation:
View on GitHub
Reset an attribute to its default

@return [self]

@api public

@example

  class User
    include Virtus

    attribute :age,  Integer, default: 21
  end

  user = User.new(:name => 'John', :age => 28)
  user.age = 30
  user.age # => 30
  user.reset_attribute(:age)
  user.age # => 21

@api public
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.