Class: JsDuck::Tag::Protected
- Inherits:
-
BooleanTag
- Object
- Tag
- BooleanTag
- JsDuck::Tag::Protected
- Defined in:
- lib/jsduck/tag/protected.rb
Constant Summary
Constants inherited from Tag
Tag::POS_ASIDE, Tag::POS_DEFAULT, Tag::POS_DEPRECATED, Tag::POS_DOC, Tag::POS_ENUM, Tag::POS_FIRES, Tag::POS_LOCALDOC, Tag::POS_OVERRIDES, Tag::POS_PARAM, Tag::POS_PREVENTABLE, Tag::POS_PRIVATE, Tag::POS_RETURN, Tag::POS_SINCE, Tag::POS_SUBPROPERTIES, Tag::POS_TEMPLATE, Tag::POS_THROWS
Instance Attribute Summary
Attributes inherited from Tag
#css, #ext_define_default, #ext_define_pattern, #html_position, #pattern, #repeatable, #signature, #tagname
Instance Method Summary collapse
-
#initialize ⇒ Protected
constructor
A new instance of Protected.
Methods inherited from BooleanTag
Methods inherited from Tag
descendants, #format, #parse_doc, #parse_ext_define, #process_doc, #to_html
Constructor Details
#initialize ⇒ Protected
Returns a new instance of Protected.
5 6 7 8 9 10 |
# File 'lib/jsduck/tag/protected.rb', line 5 def initialize @pattern = "protected" @signature = {:long => "protected", :short => "PRO"} @css = ".signature .protected { background-color: #9B86FC }" # Violet super end |