Sha256: 68a2537da2a6b5b6600039b15a3fe36451fd15e2bbba12f062bc522c4eecd582

Contents?: true

Size: 662 Bytes

Versions: 3

Compression:

Stored size: 662 Bytes

Contents

require "jsduck/tag/boolean_tag"

module JsDuck::Tag
  class Interface < BooleanTag
    def initialize
      @pattern = "interface"
      @class_icon = {
          :small => File.dirname(__FILE__) + "/icons/interface.png",
          :large => File.dirname(__FILE__) + "/icons/interface-large.png",
          :redirect => File.dirname(__FILE__) + "/icons/interface-redirect.png",
          :priority => PRIORITY_SINGLETON,
      }
      @signature = {:long => "interface", :short => "int"}
      @css = <<-EOCSS
        .signature .interface {
          background-color: transparent;
          color: #e3e3e3;
        }
      EOCSS
      super
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jsduck-troopjs-0.0.8 lib/jsduck/tag/interface.rb
jsduck-troopjs-0.0.7 lib/jsduck/tag/interface.rb
jsduck-troopjs-0.0.5 lib/jsduck/tag/interface.rb