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