Sha256: c825fc124aab8d9900f9aae5cd583950217563f5decd3d8ebd2bd5c3deea0c1c

Contents?: true

Size: 356 Bytes

Versions: 24

Compression:

Stored size: 356 Bytes

Contents

module JsDuck

  # Creates an array of small hashes documenting name, parent class
  # and icon of a class.
  class Icons
    def create(classes)
      classes.map do |cls|
        {
          :name => cls[:name],
          :extends => cls[:extends],
          :private => cls[:private],
          :icon => cls.icon,
        }
      end
    end
  end

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
jsduck-4.0.1 lib/jsduck/icons.rb
jsduck-4.0.0 lib/jsduck/icons.rb
jsduck-3.11.2 lib/jsduck/icons.rb
jsduck-4.0.beta2 lib/jsduck/icons.rb
jsduck-3.11.1 lib/jsduck/icons.rb
jsduck-4.0.beta lib/jsduck/icons.rb
jsduck-3.11.0 lib/jsduck/icons.rb
jsduck-3.10.5 lib/jsduck/icons.rb
jsduck-3.10.4 lib/jsduck/icons.rb
jsduck-3.10.3 lib/jsduck/icons.rb
jsduck-3.10.2 lib/jsduck/icons.rb
jsduck-3.10.1 lib/jsduck/icons.rb
jsduck-3.10.0 lib/jsduck/icons.rb
jsduck-3.9.1 lib/jsduck/icons.rb
jsduck-3.9.0 lib/jsduck/icons.rb
jsduck-3.9.0.pre lib/jsduck/icons.rb
jsduck-3.8.4 lib/jsduck/icons.rb
jsduck-3.8.3 lib/jsduck/icons.rb
jsduck-3.8.2 lib/jsduck/icons.rb
jsduck-3.8.1 lib/jsduck/icons.rb