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