Method: JsDuck::Tag::New#initialize
- Defined in:
- lib/jsduck/tag/new.rb
#initialize ⇒ New
Returns a new instance of New.
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/jsduck/tag/new.rb', line 5 def initialize @pattern = "new" # A :tooltip field gets injected to this signature in Process::Versions @signature = {:long => "★", :short => "★"} # black (docs text color) unicode star on yellow background @css = " .signature .new {\n color: #484848;\n background-color: #F5D833;\n }\n EOCSS\n super\nend\n" |