Sha256: 2090d55f6621d45327002fe5433835154f29e3005a7016e5d361770d8d43e1c2

Contents?: true

Size: 392 Bytes

Versions: 2

Compression:

Stored size: 392 Bytes

Contents

require 'jsduck/table'

module JsDuck

  class CfgTable < Table
    def initialize(cls, formatter, cache={})
      super(cls, formatter, cache)
      @type = :cfg
      @id = @cls.full_name + "-configs"
      @title = "Config Options"
      @column_title = "Config Options"
      @row_class = "config-row"
    end

    def signature_suffix(item)
      " : " + item[:type]
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jsduck-0.6.1 lib/jsduck/cfg_table.rb
jsduck-0.6 lib/jsduck/cfg_table.rb