Class: AllTheFavicons::Tiles

Inherits:
Base
  • Object
show all
Defined in:
lib/all_the_favicons/tiles.rb

Class Method Summary collapse

Class Method Details

.allObject



4
5
6
# File 'lib/all_the_favicons/tiles.rb', line 4

def all
  files(/^mstile/).map { |f| ms_icon(f) }
end

.tile_imageObject



8
9
10
# File 'lib/all_the_favicons/tiles.rb', line 8

def tile_image
  files(/^mstile-/).first
end

.tile_image?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/all_the_favicons/tiles.rb', line 12

def tile_image?
  tile_image ? true : false
end