Sha256: 10af8b23bf62025ad9a3a5bb01c4fd5acd69aab2ed1d893f9624659ab4e05516

Contents?: true

Size: 370 Bytes

Versions: 3

Compression:

Stored size: 370 Bytes

Contents

require 'jsduck/table'

module JsDuck

  class CfgTable < Table
    def initialize(cls, cache={})
      super(cls, 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

3 entries across 3 versions & 1 rubygems

Version Path
jsduck-0.5 lib/jsduck/cfg_table.rb
jsduck-0.4 lib/jsduck/cfg_table.rb
jsduck-0.3 lib/jsduck/cfg_table.rb