Method: JsDuck::Tag::Experimental#initialize
- Defined in:
- lib/jsduck/tag/experimental.rb
#initialize ⇒ Experimental
Returns a new instance of Experimental.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/jsduck/tag/experimental.rb', line 5 def initialize @tagname = :experimental @msg = "This {TAGNAME} is <strong>experimental</strong>" @since = "Introduced in" # dashed border @css = " .signature .experimental {\n color: #a00;\n border: 1px dashed #a00;\n background-color: #fee;\n }\n .experimental-box {\n border: 2px dashed #ccc;\n }\n .experimental-box strong {\n margin: 0 3px;\n border: 2px dashed #a00;\n color: #a00;\n }\n EOCSS\n super\nend\n" |