Sha256: 27b32b431996a92887a4753550d60ccc4681f780abd3079107d4a188233da059

Contents?: true

Size: 365 Bytes

Versions: 2

Compression:

Stored size: 365 Bytes

Contents

require "jsduck/meta_tag"
require "jsduck/logger"

module JsDuck::Tag
  # Implementation of @new tag.
  class New < JsDuck::MetaTag
    def initialize
      @name = "new"
      @key = :new
      @signature = {:long => "&#9733;", :short => "&#9733;"} # unicode black star char
      @boolean = true
    end

    def to_value(contents)
      true
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jsduck-4.0.0 lib/jsduck/tag/new.rb
jsduck-4.0.beta2 lib/jsduck/tag/new.rb