Class: JsDuck::Tag::Static

Inherits:
MetaTag
  • Object
show all
Defined in:
lib/jsduck/tag/static.rb

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

Methods inherited from MetaTag

descendants, #format, #to_html, #to_value

Constructor Details

#initializeStatic

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