class JsDuck::Tag::Deprecated

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/jsduck/tag/deprecated.rb, line 5
    def initialize
      @tagname = :deprecated
      @msg = "This {TAGNAME} has been <strong>deprecated</strong>"
      @css = <<-EOCSS
        .signature .deprecated {
          background-color: #aa0000;
        }
        .deprecated-box {
          border: 2px solid #aa0000;
        }
        .deprecated-box strong {
          color: white;
          background-color: #aa0000;
        }
      EOCSS
      super
    end