Class: JsDuck::Tag::Protected
- Defined in:
- lib/jsduck/tag/protected.rb
Overview
Implementation of @protected tag
Instance Attribute Summary
Attributes inherited from MetaTag
#assets, #boolean, #context, #formatter, #key, #multiline, #name, #position, #signature
Instance Method Summary collapse
-
#initialize ⇒ Protected
constructor
A new instance of Protected.
Methods inherited from MetaTag
descendants, #format, #to_html, #to_value
Constructor Details
#initialize ⇒ Protected
Returns a new instance of Protected.
6 7 8 9 10 11 |
# File 'lib/jsduck/tag/protected.rb', line 6 def initialize @name = "protected" @key = :protected @signature = {:long => "protected", :short => "PRO"} @boolean = true end |