Method: JsDuck::MetaTag#signature

Defined in:
lib/jsduck/meta_tag.rb

#signatureObject (readonly)

The text to display in member signature. Must be a hash defining the short and long versions of the signature text:

{:long => "something", :short => "SOM"}

Additionally the hash can contain a :tooltip which is the text to be shown when the signature bubble is hovered over in docs.



22
23
24
# File 'lib/jsduck/meta_tag.rb', line 22

def signature
  @signature
end