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-3.8.0 | lib/jsduck/icons.rb |
jsduck-3.7.0 | lib/jsduck/icons.rb |
jsduck-3.6.1 | lib/jsduck/icons.rb |
jsduck-3.6.0 | lib/jsduck/icons.rb |