Sha256: 7c3eb2ccf1c0d36db4ecfafae9b1c4ae15f250c6344a784984bd8e1ef41e55e3

Contents?: true

Size: 377 Bytes

Versions: 3

Compression:

Stored size: 377 Bytes

Contents

require 'jsduck/table'

module JsDuck

  class PropertyTable < Table
    def initialize(cls, cache={})
      super(cls, cache)
      @type = :property
      @id = @cls.full_name + "-props"
      @title = "Public Properties"
      @column_title = "Property"
      @row_class = "property-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/property_table.rb
jsduck-0.4 lib/jsduck/property_table.rb
jsduck-0.3 lib/jsduck/property_table.rb