class JsDuck::Tag::Removed

To document members that were present in previous version but are completely gone now. Other than that it behaves exactly like @deprecated.

Public Class Methods

new() click to toggle source
Calls superclass method JsDuck::Tag::DeprecatedTag::new
# File lib/jsduck/tag/removed.rb, line 8
    def initialize
      @tagname = :removed
      @msg = "This {TAGNAME} has been <strong>removed</strong>"
      # striked-through text with red border.
      @css = <<-EOCSS
        .signature .removed {
          color: #aa0000;
          background-color: transparent;
          border: 1px solid #aa0000;
          text-decoration: line-through;
        }
        .removed-box {
          border: 2px solid #aa0000;
        }
        .removed-box strong {
          color: #aa0000;
          border: 2px solid #aa0000;
          background-color: transparent;
          text-decoration: line-through;
        }
      EOCSS
      super
    end