Method: AppInfo::HAP#icons
- Defined in:
- lib/app_info/hap.rb
#icons ⇒ Array<Hash{Symbol => String, Array<Integer>}>
Full icons metadata
24 25 26 27 28 29 30 31 32 33 |
# File 'lib/app_info/hap.rb', line 24 def icons @icons ||= icons_path.each_with_object([]) do |file, obj| obj << { name: ::File.basename(file), file: file, uncrushed_file: file, dimensions: ImageSize.path(file).size } end end |