Method: JsDuck::MetaTag#to_value
- Defined in:
- lib/jsduck/meta_tag.rb
#to_value(contents) ⇒ Object
It gets passed an array of contents gathered from all meta-tags of given type. It should return the value to be stored for this meta-tag at :key. The returned value is also passed to #to_html method. Returning nil will cause the tag to be ignored. By default the contents are returned unchanged.
50 51 52 |
# File 'lib/jsduck/meta_tag.rb', line 50 def to_value(contents) contents end |