Class: JsDuck::Tag::Chainable

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

Overview

Implementation of @chainable 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

#initializeChainable

Returns a new instance of Chainable.



6
7
8
9
10
11
# File 'lib/jsduck/tag/chainable.rb', line 6

def initialize
  @name = "chainable"
  @key = :chainable
  @signature = {:long => "chainable", :short => ">"} # show small right-arrow
  @boolean = true
end